<?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: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637990#M83586</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/610"&gt;@Jed_Campbell&lt;/a&gt;, Almost, except that dividing a single Y axis into say 3 graphs, each with a different Y scale...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-06-01 at 10.54.37 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53334iC70CC891150FE932/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-06-01 at 10.54.37 AM.png" alt="Screenshot 2023-06-01 at 10.54.37 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 17:55:51 GMT</pubDate>
    <dc:creator>Prokaryote</dc:creator>
    <dc:date>2023-06-01T17:55:51Z</dc:date>
    <item>
      <title>How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/631198#M82950</link>
      <description>&lt;P&gt;I've highlighted a legend box that contains 2 legend models.&amp;nbsp; I'd like to put the first legend model in a stand alone legend box and place that legend box in the first framebox.&amp;nbsp; For the second legend model, I'd like to put it in a stand alone legend box and place that second legend box in the second framebox.&amp;nbsp; Is this possible by manipulating the graphbuilder script?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&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="ih_0-1684351521207.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52849i65A82DCF54BCDA5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_0-1684351521207.png" alt="ih_0-1684351521207.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:32:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/631198#M82950</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-06-11T11:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632160#M83055</link>
      <description>&lt;P&gt;I'm not sure if this will be possible. I don't know if you can have 2 different legend boxes. Hopefully some of our JMP Community scripting experts can help (not me!). It could help if you are able to be more specific about what you are trying to achieve. I don't understand what differentiates the 2 legend boxes. Or why you need them to be separate. Attaching a jmp data example would be good.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 10:32:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632160#M83055</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2023-05-16T10:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632347#M83078</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1888"&gt;@Phil_Kay&lt;/a&gt;&amp;nbsp;, thank you for your reply.&amp;nbsp; An answer to the second question that you asked above is suppose you had multiple graphs with the same X axis (different y-axes) on two or more pages.&amp;nbsp; Instead of having to scroll to the top of each page to see the legend, one could just past the legend pertinent to each graph to each graph's framebox or scalebox.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-16 at 9.53.16 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52826iD175029A72245C1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-16 at 9.53.16 AM.png" alt="Screenshot 2023-05-16 at 9.53.16 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-16 at 9.53.31 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52827iFFAE02C9E936EFCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-16 at 9.53.31 AM.png" alt="Screenshot 2023-05-16 at 9.53.31 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  Also, the individual graphs may take up the whole screen and again, it would be nice to have the appropriate legend for each graph within that graph's scale or frame box.&amp;nbsp; I looked at the tree structure and it looks like the legend box is appended to the scalebox with the name/handle? "400".&amp;nbsp; The way we deal with it now is to create a slide and copy the edited legend (so that it shows just the parameters of interest) and paste it onto its respective graph.&amp;nbsp; Does this help?&amp;nbsp; Thanks, Prok.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 17:01:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632347#M83078</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-05-16T17:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632348#M83079</link>
      <description>&lt;P&gt;oops, I meant instead of having to scroll to the top of page 1... instead of the top of each page.&amp;nbsp; Sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 17:02:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632348#M83079</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-05-16T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632354#M83081</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the script that generates the graphs above, note the scalebox "400".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-16 at 10.18.45 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52828iC6482A1E7D9EB731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-16 at 10.18.45 AM.png" alt="Screenshot 2023-05-16 at 10.18.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I opened the tree structure and looked for the properties of the scale box, but was unable to find properties for the scalebox.&amp;nbsp; You can see that it skips over the pictureBox(1), goes to the GraphBuilderBox(1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-16 at 10.23.41 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52830i3F99590E1F0B0935/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-16 at 10.23.41 AM.png" alt="Screenshot 2023-05-16 at 10.23.41 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; And when expanding the GraphBuilderBox(1), it skips over the ScaleBox and the ParallelScaleBox(1) and goes right to the GraphBuilderContainerBox(1), skips the GraphBuilderComponentBox(1), etc...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-16 at 10.29.23 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52831i5D142395056E75C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-16 at 10.29.23 AM.png" alt="Screenshot 2023-05-16 at 10.29.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 17:31:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632354#M83081</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-05-16T17:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632659#M83103</link>
      <description>&lt;P&gt;One way to get a legend showing up on each graph is to use the dialog box for graph builder (Red Triangle...Redo..Relaunch), and switch the Page variable to the By section. Credit to &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;from &lt;A href="https://community.jmp.com/t5/Discussions/Repeat-legend-with-every-page/m-p/47610#M27143" target="_self"&gt;this post&lt;/A&gt;. Screenshot below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_0-1684342996008.png" style="width: 665px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52848iB71E481DA1EC1A43/image-dimensions/665x326?v=v2" width="665" height="326" role="button" title="Jed_Campbell_0-1684342996008.png" alt="Jed_Campbell_0-1684342996008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 17:05:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/632659#M83103</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2023-05-17T17:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637556#M83531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/610"&gt;@Jed_Campbell&lt;/a&gt;, sorry for the long delay in getting back to you.&amp;nbsp; I think that the answer kind-of works, in that we can get a legend on each page:&amp;nbsp; I'm not sure what to do though if we have on the 'Y' axis say 4 different parameters that one is plotting, how would one paginate these?&amp;nbsp; Would stack the parameter columns as say 'data' then use the 'label' column as a page demarcation?&amp;nbsp; Would be hard to have an easy comparison of the 4 'Y' parameters to compare against each other with respect to the X axis, I guess you'd have to jump from page to page.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing that Graph Builder is not set up architecturally to have a legend box per graph frame then?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;prok.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 20:20:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637556#M83531</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-05-31T20:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637908#M83580</link>
      <description>&lt;P&gt;I think the same trick works, as long as I'm understanding you correctly. Here's a graph with 4 different variables on the Y axis (file attached).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_0-1685632362780.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53329i9DF3661E7634C990/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jed_Campbell_0-1685632362780.png" alt="Jed_Campbell_0-1685632362780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 15:13:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637908#M83580</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2023-06-01T15:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637990#M83586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/610"&gt;@Jed_Campbell&lt;/a&gt;, Almost, except that dividing a single Y axis into say 3 graphs, each with a different Y scale...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-06-01 at 10.54.37 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53334iC70CC891150FE932/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-06-01 at 10.54.37 AM.png" alt="Screenshot 2023-06-01 at 10.54.37 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 17:55:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/637990#M83586</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-06-01T17:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688761#M87466</link>
      <description>&lt;P&gt;Any new findings here?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 18:17:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688761#M87466</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-10-19T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688772#M87470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;, thanks for checking in.&amp;nbsp; No, I'm afraid not.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 19:05:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688772#M87470</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-10-19T19:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688775#M87471</link>
      <description>&lt;P&gt;You can script this with images but they are just images&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(900, 600),
	Show Control Panel(0),
	Show Legend(1), // left here to check correct colors
	Graph Spacing(20),
	Variables(
		X(:lot_id),
		Y(:NPN1),
		Y(:PNP1, Position(1)),
		Y(:PNP2, Position(1)),
		Y(:NPN2),
		Y(:PNP3, Position(2)),
		Y(:IVP1, Position(2))
	),
	Elements(Position(1, 1), Smoother(X, Y(1), Y(2), Y(3), Legend(3))),
	Elements(Position(1, 2), Smoother(X, Y(1), Y(2), Y(3), Legend(4)))
);

Report(gb)[LegendBox(1)] &amp;lt;&amp;lt; Legend Position({3, [0, 1, 2], 4, [-1, -1, -1]});
lgnd_img1 = Report(gb)[LegendBox(1)] &amp;lt;&amp;lt; get picture;

Report(gb)[LegendBox(1)] &amp;lt;&amp;lt; Legend Position({3, [-1, -1, -1], 4, [0, 1, 2]});
lgnd_img2 = Report(gb)[LegendBox(1)] &amp;lt;&amp;lt; get picture;

Report(gb)[FrameBox(1)] &amp;lt;&amp;lt;Add Image(image(lgnd_img1), Move(11.5, 650));
Report(gb)[FrameBox(2)] &amp;lt;&amp;lt;Add Image(image(lgnd_img2), Move(11.5, 150));

Report(gb)[LegendBox(1)] &amp;lt;&amp;lt; Legend Position({3, [0, 1, 2], 4, [3, 4, 5]}); // // left here to check correct colors
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Oct 2023 19:17:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688775#M87471</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-19T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create 2 or more legend boxes in Graph Builder and place each in the respective framebox/scalebox?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688782#M87473</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;Thank you! That works for my needs, no worries if it's an image at this point!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 20:13:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-2-or-more-legend-boxes-in-Graph-Builder-and/m-p/688782#M87473</guid>
      <dc:creator>Prokaryote</dc:creator>
      <dc:date>2023-10-19T20:13:22Z</dc:date>
    </item>
  </channel>
</rss>

