<?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: GraphBuilder Challenge in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/846880#M102156</link>
    <description>&lt;P&gt;any idea?&lt;/P&gt;</description>
    <pubDate>Sun, 09 Mar 2025 10:21:41 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-03-09T10:21:41Z</dc:date>
    <item>
      <title>GraphBuilder Challenge</title>
      <link>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/729678#M91230</link>
      <description>&lt;P&gt;A Jmp graph with different Overlay categories - with a trick it's possible to create it:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_3-1709564330710.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61795iC441E66EA140823E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_3-1709564330710.png" alt="hogi_3-1709564330710.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;on the left: weight split by # doors&lt;/P&gt;&lt;P&gt;on the right: weight split by year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides the trick, how can I use Overlay to create the graph?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Cars.jmp" );
dt &amp;lt;&amp;lt; New Column( "Count_Make",	Formula( Col Number( 1, :Make ) ));

dt &amp;lt;&amp;lt; Graph Builder(
	Variables( X( :Make ), X( :Make ), Y( :Wt ), Overlay( :Year, :Doors ) ),
	Elements( Position( 1, 1 ), Box Plot( X, Y,Overlay( 2 ) ) ),
	Elements( Position( 2, 1 ), Box Plot( X, Y,Overlay( 1 ) ) ),
	Local Data Filter(
		Add Filter( columns( :Count_Make ), Where( :Count_Make &amp;gt;= 25 ) )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 15:10:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/729678#M91230</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-04T15:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: GraphBuilder Challenge</title>
      <link>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/729692#M91231</link>
      <description>&lt;P&gt;Is it necessary to use Overlay (if you need coloring, color supports multiple columns but I would most likely just rely on X-axis having both categories visible)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1709566882699.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61797i0B8C530360ED06F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_1-1709566882699.png" alt="jthi_1-1709566882699.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size(1024, 632),
	Show Control Panel(0),
	Include Missing Categories(1),
	Variables(X(:Make), X(:Doors, Position(1)), X(:Make), X(:Year, Position(2)), Y(:Wt), Color(:Doors), Color(:Year)),
	Elements(Position(1, 1), Box Plot(X(1), X(2), Y, Color(1), Legend(8))),
	Elements(Position(2, 1), Box Plot(X(1), X(2), Y, Color(2), Legend(3))),
	Local Data Filter(Add Filter(columns(:Count_Make), Where(:Count_Make &amp;gt;= 25.81))),
	SendToReport(
		Dispatch({}, "Make", ScaleBox, {Label Row(1, Show Major Labels(0)), Label Row(2, Show Major Grid(1))}),
		Dispatch({}, "Make", ScaleBox(2), {Label Row(1, Show Major Labels(0)), Label Row(2, Show Major Grid(1))})
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or without color&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1709567288050.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61798iD5991CA2CFE023D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_2-1709567288050.png" alt="jthi_2-1709567288050.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 15:48:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/729692#M91231</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-04T15:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: GraphBuilder Challenge</title>
      <link>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/729743#M91235</link>
      <description>&lt;P&gt;nice trick :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this one?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1709578119670.png" style="width: 766px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61803i5623235EA819E0B5/image-dimensions/766x251?v=v2" width="766" height="251" role="button" title="hogi_0-1709578119670.png" alt="hogi_0-1709578119670.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;on the left: cases split by region&lt;/P&gt;&lt;P&gt;on the right: cases split by year&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;once&amp;nbsp;&lt;LI-MESSAGE title="Overlay by multiple columns" uid="188405" url="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-Overlay-by-multiple-columns/m-p/188405#U188405" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;is available, it will be:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Seasonal Flu.jmp" );
dt &amp;lt;&amp;lt; Graph Builder(
	Transform Column( "Year", Formula( Year( :Date ) ) ),
	Transform Column( "Day of Year", Formula( Day Of Year( :Date ) ) ),
	Variables(
		X( :Day of Year ),
		X( :Day of Year ),
		Y( :Flu Cases ),
		Overlay( :Year, :Region )
	),
	Elements(
		Position( 1, 1 ),
		Smoother( X, Y, Overlay( 2 ))
	),
	Elements( Position( 2, 1 ), Smoother( X, Y, Overlay( 1 )))
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 10:23:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/729743#M91235</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-09T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: GraphBuilder Challenge</title>
      <link>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/846880#M102156</link>
      <description>&lt;P&gt;any idea?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 10:21:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/GraphBuilder-Challenge/m-p/846880#M102156</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-03-09T10:21:41Z</dc:date>
    </item>
  </channel>
</rss>

