<?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: reference line, different for each Y group in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/456698#M70198</link>
    <description>&lt;P&gt;Graph Builder is designed to facilitate comparisons within and between groups. So, if you have multiple FrameBoxes from using grouping variables then, as you say, the x and y axes (and any reference lines associated with these) will always be common. So I believe the answer is 'no', not without resorting to JSL.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 12:45:15 GMT</pubDate>
    <dc:creator>ian_jmp</dc:creator>
    <dc:date>2022-01-28T12:45:15Z</dc:date>
    <item>
      <title>Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/456664#M70196</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if it is possible to define separated reference lines on the X axis when we have Y groups.&lt;/P&gt;&lt;P&gt;Here is an example using the BigClass data table.&lt;/P&gt;&lt;P&gt;I can define two reference lines, but I would like to display the red one only on the top graph and the blue one on the bottom graph.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anne_sa_2-1643367128821.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39540i21D7C66BB324CCAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anne_sa_2-1643367128821.png" alt="anne_sa_2-1643367128821.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anne_sa_0-1643366681245.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39538iEACCF20DB2A83429/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anne_sa_0-1643366681245.png" alt="anne_sa_0-1643366681245.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I would like to get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anne_sa_1-1643366773099.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39539i691D65A807BC5B3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anne_sa_1-1643366773099.png" alt="anne_sa_1-1643366773099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do that without playing with the menu Customize &amp;gt; Script ...?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:21:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/456664#M70196</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2023-06-11T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/456698#M70198</link>
      <description>&lt;P&gt;Graph Builder is designed to facilitate comparisons within and between groups. So, if you have multiple FrameBoxes from using grouping variables then, as you say, the x and y axes (and any reference lines associated with these) will always be common. So I believe the answer is 'no', not without resorting to JSL.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 12:45:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/456698#M70198</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2022-01-28T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/703104#M88745</link>
      <description>&lt;P&gt;Fortunately, it's less JSL than one might expect:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1701090375582.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59086i9DCE09F88EE5C6D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1701090375582.png" alt="hogi_2-1701090375582.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;right click / customize / + / type:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1701090294672.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59085i20D59D1777E1D2F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1701090294672.png" alt="hogi_1-1701090294672.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 13:06:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/703104#M88745</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-27T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/925746#M108386</link>
      <description>&lt;P&gt;and here an option with &lt;STRONG&gt;&lt;U&gt;no&amp;nbsp;JSL&lt;/U&gt;&lt;/STRONG&gt;:&lt;BR /&gt;use a&amp;nbsp; "bar" graph&amp;nbsp; (with "float" style) with Response axis = X&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1769199507139.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/91952i4045CEFE24901AE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1769199507139.png" alt="hogi_1-1769199507139.png" /&gt;&lt;/span&gt;&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="hogi_0-1769199475772.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/91951i2D92D95DD130C29B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1769199475772.png" alt="hogi_0-1769199475772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;"no JSL" - but here it is:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
// via right click - new formula column
New Column( "Mean[height][sex]",	Formula( Col Mean( :height, :sex ) )); 


Graph Builder(
	Variables(
		X( :height ),
		X( :"Mean[height][sex]"n, Position( 1 ) ),
		Y( :weight ),
		Group Y( :sex ),
		Color( :sex )
	),
	Elements(
		Points( X( 1 ), Y),
		Smoother( X( 1 ), Y ),
		Bar( X( 2 ), Bar Style( "Float" ), Response Axis( "X" ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&amp;nbsp;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 23 Jan 2026 20:20:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/925746#M108386</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-01-23T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/928354#M108553</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;&amp;nbsp;,&lt;BR /&gt;That's a very nice way to answer the problem, thanks! But if I understand correctly, it works only if we want to highlight a summary statistic value (mean, median...) and not a user defined threshold?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 08:06:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/928354#M108553</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2026-02-02T08:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/928356#M108555</link>
      <description>&lt;P&gt;The basic step is&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="jsl"&gt;Bar Style( "Float" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It can also be used for user defined thresholds. Jus store it in a column and plot it as Bar chart with &lt;FONT face="courier new,courier"&gt;Bar Style("Float")&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 08:51:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/928356#M108555</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-02-02T08:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: reference line, different for each Y group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/928358#M108556</link>
      <description>&lt;P&gt;Clear, thanks for your help&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 08:56:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-reference-line-different-for-each-Y-group/m-p/928358#M108556</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2026-02-02T08:56:00Z</dc:date>
    </item>
  </channel>
</rss>

