<?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: Show same data but with different Overlay variables side-by-side in Graph Builder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/403513#M65416</link>
    <description>&lt;P&gt;If you are willing to do some scripting you could use new window and hlist box (or Lineup box(), see scripting index how to use):&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

nw = new window("",
	H list box(
		dt &amp;lt;&amp;lt; Graph Builder(
			Size(534, 464),
			Show Control Panel(0),
			Variables(X(:name), Y(:weight), Overlay(:age)),
			Elements(Points(X, Y, Legend(10)), Smoother(X, Y, Legend(12))),
			SendToReport(
				Dispatch(
					{},
					"400",
					ScaleBox,
					{Legend Model(
						10,
						Base(0, 0, 0, Item ID("12", 1)),
						Base(1, 0, 0, Item ID("13", 1)),
						Base(2, 0, 0, Item ID("14", 1)),
						Base(3, 0, 0, Item ID("15", 1)),
						Base(4, 0, 0, Item ID("16", 1)),
						Base(5, 0, 0, Item ID("17", 1))
					)}
				)
			)
		),
		dt &amp;lt;&amp;lt; Graph Builder(
			Size(534, 464),
			Show Control Panel(0),
			Variables(X(:name), Y(:weight), Overlay(:sex)),
			Elements(Points(X, Y, Legend(10)), Smoother(X, Y, Legend(12))),
			SendToReport(
				Dispatch(
					{},
					"400",
					ScaleBox,
					{Legend Model(
						10,
						Base(-1, 0, 0, Item ID("12", 1)),
						Base(-1, 0, 0, Item ID("13", 1)),
						Base(-1, 0, 0, Item ID("14", 1)),
						Base(-1, 0, 0, Item ID("15", 1)),
						Base(-1, 0, 0, Item ID("16", 1)),
						Base(-1, 0, 0, Item ID("17", 1))
					)}
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or create dashboard. First create both graph builder windows and then I think you can do it either with File/New/Dashboard or from Window/Combine Windows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1627061966125.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34482i49864CF7F177350A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1627061966125.png" alt="jthi_0-1627061966125.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="jthi_1-1627061974354.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34483iF4EF44C3FD41F192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1627061974354.png" alt="jthi_1-1627061974354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(tested with JMP15.2.1)&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 17:41:40 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2021-07-23T17:41:40Z</dc:date>
    <item>
      <title>Show same data but with different Overlay variables side-by-side in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/403491#M65415</link>
      <description>&lt;P&gt;I'm often looking at trend charts in Graph Builder and want to see how multiple different factors are affecting the trends. So I make my trend plot and put a Variable A into the Overlay role, but I really want to also add Variable B to Overlay as well and view the plots side-by-side.&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="MarkJSchwab_0-1627060329724.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34479iC3BFC8E39BC29F23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkJSchwab_0-1627060329724.png" alt="MarkJSchwab_0-1627060329724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the best way I know to do this is to do Redo Analysis to make a second window, and then put Variable B into the Overlay role in the second window. But this is unwieldy to manage multiple windows - I would like to have both plots in the same window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to achieve this currently? I am using JMP Pro 14.3.0.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:16:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/403491#M65415</guid>
      <dc:creator>MarkJSchwab</dc:creator>
      <dc:date>2023-06-11T11:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Show same data but with different Overlay variables side-by-side in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/403513#M65416</link>
      <description>&lt;P&gt;If you are willing to do some scripting you could use new window and hlist box (or Lineup box(), see scripting index how to use):&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

nw = new window("",
	H list box(
		dt &amp;lt;&amp;lt; Graph Builder(
			Size(534, 464),
			Show Control Panel(0),
			Variables(X(:name), Y(:weight), Overlay(:age)),
			Elements(Points(X, Y, Legend(10)), Smoother(X, Y, Legend(12))),
			SendToReport(
				Dispatch(
					{},
					"400",
					ScaleBox,
					{Legend Model(
						10,
						Base(0, 0, 0, Item ID("12", 1)),
						Base(1, 0, 0, Item ID("13", 1)),
						Base(2, 0, 0, Item ID("14", 1)),
						Base(3, 0, 0, Item ID("15", 1)),
						Base(4, 0, 0, Item ID("16", 1)),
						Base(5, 0, 0, Item ID("17", 1))
					)}
				)
			)
		),
		dt &amp;lt;&amp;lt; Graph Builder(
			Size(534, 464),
			Show Control Panel(0),
			Variables(X(:name), Y(:weight), Overlay(:sex)),
			Elements(Points(X, Y, Legend(10)), Smoother(X, Y, Legend(12))),
			SendToReport(
				Dispatch(
					{},
					"400",
					ScaleBox,
					{Legend Model(
						10,
						Base(-1, 0, 0, Item ID("12", 1)),
						Base(-1, 0, 0, Item ID("13", 1)),
						Base(-1, 0, 0, Item ID("14", 1)),
						Base(-1, 0, 0, Item ID("15", 1)),
						Base(-1, 0, 0, Item ID("16", 1)),
						Base(-1, 0, 0, Item ID("17", 1))
					)}
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or create dashboard. First create both graph builder windows and then I think you can do it either with File/New/Dashboard or from Window/Combine Windows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1627061966125.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34482i49864CF7F177350A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1627061966125.png" alt="jthi_0-1627061966125.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="jthi_1-1627061974354.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34483iF4EF44C3FD41F192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1627061974354.png" alt="jthi_1-1627061974354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(tested with JMP15.2.1)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 17:41:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/403513#M65416</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-07-23T17:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Show same data but with different Overlay variables side-by-side in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/404016#M65450</link>
      <description>&lt;P&gt;Once you create both charts, you could combine them into a single window using 'Combine Windows' found in the Window menu.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ih_0-1627317033335.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34552i851A056143C02994/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_0-1627317033335.png" alt="ih_0-1627317033335.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This brings up a dashboard from which you can save the script just like an individual graph.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ih_1-1627317108607.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34553iE6FD4E15509BC1C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_1-1627317108607.png" alt="ih_1-1627317108607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 16:32:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Show-same-data-but-with-different-Overlay-variables-side-by-side/m-p/404016#M65450</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-07-26T16:32:34Z</dc:date>
    </item>
  </channel>
</rss>

