<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using graph builder to create graphs with grouped Y data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7292#M7286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;On Mac, OmniGraffle is an easy to use vector graphics app. To use it on JMP output, use Print from JMP and choose Save as PDF. OmniGraffle can open PDF files. Adobe Illustrator can handle more formats but is harder to use and more expensive. Some analysts call this kind of graphic clean-up "post-production" editing, and it is not (yet) a specialty of JMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 13:41:53 GMT</pubDate>
    <dc:creator>XanGregg</dc:creator>
    <dc:date>2013-08-20T13:41:53Z</dc:date>
    <item>
      <title>Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7280#M7274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am a tropical ecologist specialising in the Amazonian canopy. I am writing my PhD thesis and using JMP Pro (I'm a fairly new user with no programming experience) to run PLS and other analyses on my data. I have a large dataset of leaves grouped by tree, leaf canopy level (sun or shade) and leaf age. For one of my first analyses I have 12 trees with 4 trees having both sun and shade leaves and the rest just sun leaves. I need to create graphs for different leaf traits such as leaf water content, leaf thickness, leaf fresh and dry weight, %Carbon content, etc. etc., these graphs need to be built such that:&lt;/P&gt;&lt;P&gt;X axis = leaf age&lt;/P&gt;&lt;P&gt;Y = leaf trait (e.g. leaf thickness) grouped by tree and by sun and shade canopy position&lt;/P&gt;&lt;P&gt;I have been trying to create these graphs but I keep getting a graph that splits the Y scale for each tree and when I try to put the sun and shade grouping into the graph it all just gets even worse. I would be very grateful if someone could advise me on how to create these Y-grouped graphs and how best to automise the production of numerous graphs. Many thanks in advance for the help!;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 22:36:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7280#M7274</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2013-08-12T22:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7281#M7275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CCHB,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure exactly what you're looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mocked up some data and have attached it here so you can see what I started with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a graph I created using the X Group role at the top of the graph. This gives you one graph for each Tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used the Sun or Shade column in the Overlay role to get one line for Sun and one for Shade for the trees that had both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4008_JMPScreenSnapz012.png" style="width: 1017px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/208i5C6F4A3F68FD4137/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4008_JMPScreenSnapz012.png" alt="4008_JMPScreenSnapz012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you could use the Sun or Shade column in the Y Group role on the right side of the graph and get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4009_JMPScreenSnapz006.png" style="width: 1166px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/209iF23036DD45F77EF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4009_JMPScreenSnapz006.png" alt="4009_JMPScreenSnapz006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I've not guessed correctly, describe more completely what series of graphs you'd like and we can try to show you how to create them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:19:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7281#M7275</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2016-10-18T20:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7282#M7276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply and for taking the time to create example graphs, and apologies for not supplying enough information in my original post. Your graphs actually illustrate very well the problems I have been encountering. Using you graphs as an example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Thanks for the tip on using the Overlay role for the sun and shade leaf canopy position, that solves one problem. I have been using the Y group role at the left of graph for the different trees which gives me a graph that looks like yours but arranged horizontally rather than vertically. I have updated my graph using the Overlay role as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4024_Screen shot 2013-08-14 at 14.16.12.png" style="width: 963px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/222iD9EE6798BDCC3D98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4024_Screen shot 2013-08-14 at 14.16.12.png" alt="4024_Screen shot 2013-08-14 at 14.16.12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would like the above to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. be one single graph rather than a graph for each tree.&lt;/P&gt;&lt;P&gt;2. I would like to add the equivalent number of weeks that each leaf age class represents in parenthesis, e.g. Y1(1), Y2(2), etc. I have this data in a separate column in my data table, how do you concatenate two or more columns in JMP Pro? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I have also re-created your second graph (I quite like this graph as it would be less busy than the previous one) as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4026_Screen shot 2013-08-14 at 14.16.38.png" style="width: 990px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/223i2104298A04F85529/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4026_Screen shot 2013-08-14 at 14.16.38.png" alt="4026_Screen shot 2013-08-14 at 14.16.38.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also like the above:&lt;/P&gt;&lt;P&gt;1. to be one single graph instead than one graph for each tree &lt;/P&gt;&lt;P&gt;2. to switch the order of the canopy position so SU is on the left and SH is on the right. I have reversed the order of the X and Y axis but I can't find this option for the X and Y grouping roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After organising the graphs to display the information correctly I would like to find a way of creating a whole lot of similar graphs but just changing the Y axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that the above clarifies my questions and I thank you again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:21:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7282#M7276</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2016-10-18T20:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7283#M7277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cecilia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting all trees on one graph, you can put Tree in the Overlay slot (make sure the Tree column is marked as nominal since continuous variables can get binned otherwise). Then the Canopy variable will have to be in one of the Group X or Group Y slots. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want &lt;EM&gt;all&lt;/EM&gt; the lines in one plot, you can create a new variable that concatenates Tree and Canopy and then overlay by that variable. To do that, create a new character column and give it a Formula that concatenates the two other columns. Something like &lt;STRONG&gt;:Tree || " " || :Canopy&lt;/STRONG&gt;. "||" is the text concatenation operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a similar method to append the tree age values: &lt;STRONG&gt;:Age Class || "(" || Char(:age in weeks) || ")"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can control the SU/SH order by adding a Value Order property to the Canopy column in the Column Info dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating lots of similar graphs, you can use Column Switcher (under Red triangle &amp;gt; Script &amp;gt; Column Switcher) to do that interactively or use JSL scripting to do it programmatically (Red triangle &amp;gt; Script &amp;gt; Save to Script Window, then edit the Y name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 16:52:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7283#M7277</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2013-08-15T16:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7284#M7278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Xan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your recommendations, they were spot on. With both your and Jeff's help I have almost arrived at the graph I wish to create. Below is the graph I have come up with so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4042_Screen shot 2013-08-15 at 22.47.56.png" style="width: 951px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/229i917BBCE1BA942051/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4042_Screen shot 2013-08-15 at 22.47.56.png" alt="4042_Screen shot 2013-08-15 at 22.47.56.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three further questions about these graphs:&lt;/P&gt;&lt;P&gt;1. How do I get rid of the X Group legend "SU/SHCanopyPos"? I have tried double clicking and right clicking the legend and playing around with the script (with my non-existent programming skills!) and I couldn't find a way of getting rid of this legend.&lt;/P&gt;&lt;P&gt;2. How can I superscript some of the text (e.i. units such as m2) in the Y legend?&lt;/P&gt;&lt;P&gt;3. This question I think is a bit more tricky: as you can see on the X Groupings, after I concatenated the "age in weeks" data onto the leaf age classes I ended up with two separate O/S1 age classes. This is because the sun leaves of this age class live shorter lives (61 weeks) than the shade leaves (79 weeks). Is there a way I could get just one O/S1 age class for each canopy position but with correct "age in weeks" for each one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I used the Column Switcher to create similar graphs but didn't like it so much, I found it a bit cumbersome. So, I tried the scripting option and found it much more straight forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks again for the help,&lt;/P&gt;&lt;P&gt;Cecilia &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:22:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7284#M7278</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2016-10-18T20:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7285#M7279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice work, Cecilia, in figuring all that out from my brief descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I don't think there's a way to turn off the Group X labels in the live view. You can right click and move it to the bottom, or you can change the styling of it in Preferences &amp;gt; Platforms &amp;gt; Graph Builder. Or you can Journal the graph, which makes a dead view, and then remove parts of it by using the "fat plus" selection tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. JMP doesn't have a superscript style, but there are special Unicode characters for superscripted digits and you can use those in the name. Here's an example if this forum supports it: m².&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The X axis is identical within grouping levels (in order to allow visual comparison across groups). However, you can nest Canopy and Leaf Age together on the X axis. In that case, missing sublevels will be omitted, which sounds like what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 13:24:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7285#M7279</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2013-08-16T13:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7286#M7280</link>
      <description>&lt;P&gt;Hola Xan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for your prompt reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With respect to your comments:&lt;/P&gt;
&lt;P&gt;1. Yes, I came to the same conclusion last night and have spent a frustrating morning and afternoon trying to rewrite some parts of the graph script to get it to do what I want. However, as I have VERY LITTLE programming experience I did not get very far! I have worked out what 95% of the different code sections are for but I have been unable to rewrite anything or add a line of code to get rid of the Group X labels. Below I have pasted the script for my latest graph (sorry, I don't know how to save it into a separate file). I have played around taking the "Name" part of the Group X variable declaration but it didn't work. I also tried to add a Dispatch line similar to the one that gets rid of the graph title but it this did not work either. Could you please help me with this? I have been avoiding learning to programme as I have a lot of work to do and taking a month or so (being very hopeful!) to learn a programming language just seems to take too much but I am coming to a point where I think its unavoidable, how difficult would it be to learn some basic scripting to be able to modify existing available graphs in Graph builder? Do you have any advise on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
  Size( 868, 525 ),
  Show Footer( 0 ),
  Lock Scales( 1 ),
  Auto Stretching( 0 ),
  Variables(
  X( :Name( "Leaf Age Class (age in cummulative weeks)" ) ),
  Y( :thickness ),
  Group X( :Name( "SU/SHCanopyPos" ), Levels( 2 ) ),
  Overlay( :tree )
  ),
  Elements( Line( X, Y, Legend( 5 ), Row order( 0 ), Summary Statistic( "Mean" ) ) ),
  SendToReport(
  Dispatch(
  {},
  "Leaf Age Class (age in cummulative weeks)",
  ScaleBox,
  {Show Major Ticks( 0 ), Show Minor Ticks( 0 ), Rotated Labels( "Automatic" )}
  ),
  Dispatch( {}, "thickness", ScaleBox, {Min( 0.12 ), Max( 0.46 ), Inc( 0.05 ), Minor Ticks( 1 )} ),
  Dispatch( {}, "", ScaleBox, {Min( 0 ), Max( 0 ), Inc( 1 ), Minor Ticks( 0 )} ),
  Dispatch( {}, "", ScaleBox( 2 ), {Min( 0 ), Max( 0 ), Inc( 1 ), Minor Ticks( 0 )} ),
  Dispatch(
  {},
  "400",
  ScaleBox,
  {Legend Model(
  5,
  Properties( 0, {Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 1, {Line Color( -16715009 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 2, {Line Color( 73 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 3, {Line Color( 24 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 4, {Line Color( -16739840 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 5, {Line Color( 36 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 6, {Line Color( 14 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 7, {Line Color( 0 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 8, {Line Color( 75 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 9, {Line Color( 1 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 10, {Line Color( 20 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} ),
  Properties( 11, {Line Color( 42 ), Marker( "FilledCircle" ), Marker Size( "Medium" ), Fill Color( 0 )} )
  )}
  ),
  Dispatch( {}, "400", LegendBox, {Set Title( "Tree" )} ),
  Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
  Dispatch( {}, "Y title", TextEditBox, {Set Text( "Leaf Thickness (mm)" )} ),
  Dispatch( {}, "Graph Builder", FrameBox, {Marker Size( 2 ), Line Width Scale( 3 )} ),
  Dispatch( {}, "Graph Builder", FrameBox( 2 ), {Marker Size( 2 ), Line Width Scale( 3 )} )
  )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0c1c8d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2. Many thanks for the Unicode tip, its done the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. I tried nesting Canopy and Leaf Age together and did not like the result as it joins the graphs. The trees that have both sun and shade leaves end up having one continuous long with line with sun and shade lines joined up, which confuses things. So, what I did was put the two different age in weeks for leaf age class O/S1 together as you can see in the graph below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4043_Screen shot 2013-08-15 at 22.47.56.png" style="width: 951px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/230i9F3C009D5CC4D7CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4043_Screen shot 2013-08-15 at 22.47.56.png" alt="4043_Screen shot 2013-08-15 at 22.47.56.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks as always for your help.&lt;/P&gt;
&lt;P&gt;Cecilia&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:51:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7286#M7280</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2018-06-15T12:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7287#M7281</link>
      <description>&lt;P&gt;1. Can you explain more about the need to remove the Group X header? You must want to label the panels somehow. If you want a different style, you might be able to address it in Preferences. I did notice you can essentially hide the level names by using the Size message in Group X:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
  Variables( X( :height ), Y( :weight ), Group X( :sex, Size( 1 ) ) ),
  Elements( Points( X, Y ), Smoother( X, Y ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1b. Learning JSL is apparently not too hard. I say that not because I've been using it so long that it's easy for me, but because we had several student interns this summer who were cranking out nice projects in a few days and complex ones in a few weeks. In any case, the Scripting Index in the Help menu and the Save to Script you've already discovered are keys to getting up to speed quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Great.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. I forgot about how the nested X axis would connect the line all the way across. An ugly work-around is to join Canopy with your overlay variable, but then every line will be a different color and you'll have to manually change some of the colors to match across tree values.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:54:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7287#M7281</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2018-06-15T12:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7288#M7282</link>
      <description>&lt;P&gt;Hola Xan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks again for your prompt reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I tried out your suggestion to use the Size message in Group X but that only moved the Group X header into the same level as the actual Canopy positions as you can see on the graph below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4044_Screen shot 2013-08-16 at 21.55.21.png" style="width: 940px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/231i60208A55348B4DF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4044_Screen shot 2013-08-16 at 21.55.21.png" alt="4044_Screen shot 2013-08-16 at 21.55.21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had already gone into Preferences and there is nothing there to format the Group X other than to change the Group X edge to the bottom of the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With respect to explaining the need to remove the X Group heading, its because I just don't need it. I will have to add a note to explain what the "SU" and "SH" labels mean in the figure legend anyway so a heading is unnecessary. I have even tried to erase the name of the column so there is no heading but apparently a column without a name is not allowed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed in the bit of script I included below that the X group variable is declared using " " and these I think are used for text/heading names as in the X variable. I don't know why the X Group is also declared this way? Actually, I just changed the name of the X Group to Canopy Position and it is now declared as the Y variable so I am guessing that the " " are used when the name of a variable includes symbols, am I right?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Variables(
  X( :Name( "Leaf Age Class (age in cummulative weeks)" ) ),
  Y( :thickness ),
  Group X( :"SU-SHCanopyPos", Size(1), Levels( 2 ) ),
  Overlay( :tree )
  ),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #0c1c8d;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #0c1c8d;"&gt;&lt;STRONG&gt;OK, so far nothing I have tried has worked and I am confused about why it is not possible to customise the X and Y Group headers when this is easily done with all the other headers, this seems like a bit of a design fault ?! Do you or anyone else have any more ideas on how to get rid of the X Group header?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #0c1c8d;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #0c1c8d;"&gt;&lt;STRONG&gt;Many thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #0c1c8d;"&gt;&lt;STRONG&gt;Cecilia &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:54:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7288#M7282</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2018-06-15T12:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7289#M7283</link>
      <description>&lt;P&gt;The whole group box can be deleted, but I don't know of a way to delete only the header. It seems to be of a special (undocumented) type of display box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an example on how to get rid of the the group box. It also shows how new group labels can be added.&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #a70096;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open("$sample_data\Big Class.jmp");
gb=graph Builder(
  Show Control Panel( 0 ),
  Variables( X( :age ), Y( :height ), Group X( :sex ) ),
);
Report( gb )[Graphbuildergroupbox( 1 )] &amp;lt;&amp;lt; delete;
Report( gb )[framebox( 1 )]&amp;lt;&amp;lt;Add Text Annotation( Text( "F" ), Text Box( {11, 5, 37, 28} ) );
Report( gb )[framebox( 2 )]&amp;lt;&amp;lt;Add Text Annotation( Text( "M" ), Text Box( {11, 5, 37, 28} ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use graph builder as a quick way to discover patterns and relationships in my data, and all the advanced options allow looking for rather complex patterns. However, once I've settled for a graph I almost always bring it into a vector drawing program where it can be edited in detail before use in presentations or manuscripts.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:55:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7289#M7283</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2018-06-15T12:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7290#M7284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola MS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply, I'll be trying your suggestion to delete the entire group box later as I need to get on and send some graphs to my supervisors so I'll experiment some more later. However, could I just ask one more question about these graphs, how can I add a grey line across 0.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in your mention of a "vector drawing programme", could I ask you what software you use for this? I use a MAC and after I googled "vector drawing programmes for MAC" I am a bit confused about what these programmes do, they do not seem to be designed to create graphs, do you import your graphs into these programmes and just add or erase things as needed? I don't know if this is the direction I would want to go, aren't these type of programmes quite difficult to learn? I have had previous recommendations to learn Sigmaplot (I use Paralleles on my Mac), or learn R, Matlab or Python programming but am a bit confused with the options. Through my University I have access to Sigmaplot and Matlab. I have tried to have a go at SIgmaplot but didn't get very far, I haven't tried Matlab. I have installed R on my computer but I am stuck with installing some of the Python modules. I'd be VERY grateful for any advise and/or suggestions on all of this, as I am currently overwhelmed by options!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:41:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7290#M7284</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2013-08-20T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7291#M7285</link>
      <description>&lt;P&gt;To add a reference line, just double-click on the axis to bring up the axis settings panel. There you can specify value, color and style of one or more reference lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the graph in script example above, a grey y-axis reference line at 60 is added by this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;report(gb)[scalebox(2)]&amp;lt;&amp;lt;Add Ref Line( 60, Solid, "Gray" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With a vector drawing programme I did not mean graphing software, but general drawing software like Adobe Illustrator where any aspect of the graphics can be edited. Just copy from JMP and paste into Illustrator. It is not hard to learn the basics.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:55:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7291#M7285</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2018-06-15T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7292#M7286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;On Mac, OmniGraffle is an easy to use vector graphics app. To use it on JMP output, use Print from JMP and choose Save as PDF. OmniGraffle can open PDF files. Adobe Illustrator can handle more formats but is harder to use and more expensive. Some analysts call this kind of graphic clean-up "post-production" editing, and it is not (yet) a specialty of JMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 13:41:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7292#M7286</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2013-08-20T13:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7293#M7287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks MS and Xan for your advise, I will look into both Illustrator and OmniGraffle later on when I need to get my graphs looking good enough for publication. Currently, I am creating a load of graphs to present initial visualisations of my data to my supervisors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have so far created a first group of line graphs representing the different physical (leaf thickness, area, dry weight, etc.) and chemical properties (%C, %nN, etc content) of my leaves as they age. The evolution of one such graph for leaf thickness, can be seen in the history of these posts. With your help, I successfully created line graphs that represent the mean values of groups of leaves of each leaf age per canopy position per tree. I am now trying to create a new group of graphs to represent the average rate of change (avg RoC) for these same physical and chemical from one leaf age to the next. However, I have run into problems quite early. I calculated the avg RoC (avg RoC=y2-y1/x2-x1) from the mean values for the different leaf properties in excel and then imported the data into a new JMP datatable. However, when I tried to create line graphs for the avg RoC things started to go wrong again. As you can see from the graph below, the negative Y axis values have for some reason been reversed and in the case shown below the greatest negative avg RoC with a value of -23.155… (I've double checked my data and this value is correct) has even been rearranged somewhere into the middle?! I have tried ticking and unticking the Row order and when I opened the Y axis settings window I find this line before the correct minimum and maximum values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format: 0 is -0.004850; 56 is 5.805832&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing that this has something to do with it but I don't understand how it works or how I can correct it. I have also looked at the script for this graph and I can't find any reference to this. Could you please help me with this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4057_Screen shot 2013-08-20 at 19.17.42.png" style="width: 753px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/233i26B282E9B547B97E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4057_Screen shot 2013-08-20 at 19.17.42.png" alt="4057_Screen shot 2013-08-20 at 19.17.42.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance for the help,&lt;/P&gt;&lt;P&gt;Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:22:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7293#M7287</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2016-10-18T20:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7294#M7288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's a helpful clue. It looks like the average RoC column came is as a character column instead of as a number column, and JMP is treating it as just a list of names. You can fix that in the Column Info dialog. Change the data type to Numeric and the modeling type to Continuous.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 18:51:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7294#M7288</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2013-08-20T18:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using graph builder to create graphs with grouped Y data</title>
      <link>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7295#M7289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your prompt reply. Indeed, some of the numeric columns had gone into character mode. I have now corrected this and my graphs are making sense and showing amazing patterns, many, many thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 19:28:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-graph-builder-to-create-graphs-with-grouped-Y-data/m-p/7295#M7289</guid>
      <dc:creator>cchb</dc:creator>
      <dc:date>2013-08-20T19:28:30Z</dc:date>
    </item>
  </channel>
</rss>

