<?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: Graph Builder histogram + contour misalignment in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375200#M62497</link>
    <description>&lt;P&gt;Hi Adrian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a screenshot of the location of the Overlay option for the Contour in GB&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thierry_S_0-1617897538013.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31948iB501698EC05B36B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Thierry_S_0-1617897538013.png" alt="Thierry_S_0-1617897538013.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
    <pubDate>Thu, 08 Apr 2021 15:59:28 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2021-04-08T15:59:28Z</dc:date>
    <item>
      <title>Graph Builder histogram + contour misalignment</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/374798#M62452</link>
      <description>&lt;P&gt;I have used the following code to create the following image in JMP Graph Builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Graph Builder(
	Size( 1106, 867 ),
	Legend Position( "Bottom" ),
	Variables(
		Y( :count_traditional ),
		Y( :count_flat_probabilistic, Position( 1 ) ),
		Y( :count_increasing_probabilistic, Position( 1 ) )
	),
	Elements(
		Histogram( Y( 1 ), Y( 2 ), Y( 3 ), Legend( 3 ) ),
		Contour( Y( 1 ), Y( 2 ), Y( 3 ), Legend( 11 ) )
	),
	SendToReport(
		Dispatch(
			{},
			"count_traditional",
			ScaleBox,
			{Min( 0 ), Max( 20.5 ), Inc( 1 ), Minor Ticks( 1 ),
			Label Row( Show Major Grid( 1 ) )}
		),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				3,
				Level Name( 0, "Traditional" ),
				Level Name( 1, "Probabilistic (Flat)" ),
				Level Name( 2, "Probabilistic (Increasing)" ),
				Properties( 0, {Line Color( 3 ), Fill Color( 3 )} ),
				Properties( 1, {Line Color( 5 ), Fill Color( 5 )} ),
				Properties( 2, {Line Color( 4 ), Fill Color( 4 )} )
			), Legend Model(
				11,
				Properties( 0, {Fill Color( 67 )} ),
				Properties( 1, {Fill Color( 69 )} )
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "Number of Visits" )} ),
		Dispatch(
			{},
			"400",
			LegendBox,
			{Legend Position( {3, [0, 1, 2], 11, [-1, -1, -1]} ),
			Position( {0, 1, 2, -1, -1, -1} )}
		)
	)
)&lt;/PRE&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="example.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31909i03C0A824AC107D55/image-size/large?v=v2&amp;amp;px=999" role="button" title="example.png" alt="example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: How do I get the first and third contour to be in the middle of their respective box?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:12:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/374798#M62452</guid>
      <dc:creator>adrian</dc:creator>
      <dc:date>2023-06-11T11:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder histogram + contour misalignment</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/374811#M62453</link>
      <description>&lt;P&gt;Hi Adrian,&lt;/P&gt;
&lt;P&gt;I could not find a practical means to resolve your exact problem which seems to be a bug, but I came very close of a possible workaround:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stack your 3 Y columns (I rename the Data as COUNTS)&lt;/LI&gt;
&lt;LI&gt;In GB, use the label column as Group X&lt;/LI&gt;
&lt;LI&gt;Drag the Data to the Y axis box and select Histogram and Violin plots&lt;/LI&gt;
&lt;LI&gt;Drag the Label column to the Overlay box (I only use the Column 1 - 3 for this example)&lt;/LI&gt;
&lt;LI&gt;In the Contour menu deselect Overlay&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You'll get something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thierry_S_1-1617774607182.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31911i36F0E2114B9F0F41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thierry_S_1-1617774607182.png" alt="Thierry_S_1-1617774607182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The script for this is as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( Y( :COUNTS ), Group X( :Label ), Overlay( :Label ) ),
	Elements( Histogram( Y, Legend( 5 ) ), Contour( Y, Overlay( 0 ), Legend( 6 ) ) ),
	SendToReport( Dispatch( {}, "", ScaleBox( 2 ), {Select} ) )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It is not perfect but it might do the trick.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Thierry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 05:53:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/374811#M62453</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-04-07T05:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder histogram + contour misalignment</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375053#M62476</link>
      <description>&lt;P&gt;Thank you, Thierry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my figure after your Step 3:&amp;nbsp;It's looking good.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adrian_0-1617858707453.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31937i9663C143CDA5A8E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adrian_0-1617858707453.png" alt="adrian_0-1617858707453.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's my figure after your Step 4: Something has gone wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adrian_2-1617858858623.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31939iD74073828B12ACE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adrian_2-1617858858623.png" alt="adrian_2-1617858858623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do not understand where I can&amp;nbsp;deselect Overlay? I manually tried in the script but it did not change the figure copied above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Graph Builder(
	Size( 1022, 842 ),
	Variables( Y( :Data ), Group X( :Program ), Overlay( :Program ) ),
	Elements( Histogram( Y, Legend( 4 ) ), Contour( Y, Overlay( 0 ), Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Data",
			ScaleBox,
			{Min( -0.5 ), Max( 20.5 ), Inc( 1 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model( 4, Properties( 0, {Line Color( 0 ), Fill Color( 0 )} ) ),
			Legend Model( 5, Properties( 0, {Fill Color( 1 )} ) )}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "Number of Visits" )} )
	)
)&lt;/PRE&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 05:19:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375053#M62476</guid>
      <dc:creator>adrian</dc:creator>
      <dc:date>2021-04-08T05:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder histogram + contour misalignment</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375200#M62497</link>
      <description>&lt;P&gt;Hi Adrian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a screenshot of the location of the Overlay option for the Contour in GB&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thierry_S_0-1617897538013.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31948iB501698EC05B36B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Thierry_S_0-1617897538013.png" alt="Thierry_S_0-1617897538013.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 15:59:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375200#M62497</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-04-08T15:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder histogram + contour misalignment</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375852#M62576</link>
      <description>&lt;P&gt;Thanks, Thierry! I do not see that option in my version of JMP (13.1) so I guess it's time for me to update my software.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 00:53:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-histogram-contour-misalignment/m-p/375852#M62576</guid>
      <dc:creator>adrian</dc:creator>
      <dc:date>2021-04-12T00:53:26Z</dc:date>
    </item>
  </channel>
</rss>

