<?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 to add multiple reference lines to each group on left Y-axis in graph builder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/274965#M53350</link>
    <description>&lt;P&gt;This script is what I am looking for, but it assumes that the data in Framebox(1) is for the Female group. How could I test this to make sure that I was the lines to the correct Framebox?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2020 12:29:15 GMT</pubDate>
    <dc:creator>Mark_W</dc:creator>
    <dc:date>2020-06-23T12:29:15Z</dc:date>
    <item>
      <title>How to add multiple reference lines to  Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179640#M40207</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I came across some problems while using graph builder ,&amp;nbsp; I need to add different refrence lines to the Y-axis (like the attahced plot), which is catogorized into 4 groups.&lt;/P&gt;&lt;P&gt;but the defaut setting is that all groups apply to the same reference lines, could any one help to sovle this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="未命名.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15885i44A7F77B0809A2E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="未命名.png" alt="未命名.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 21:12:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179640#M40207</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2019-02-28T21:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179724#M40211</link>
      <description>&lt;P&gt;Did you try it interactively and save the script?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:53:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179724#M40211</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-02-28T19:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179727#M40213</link>
      <description>Sorry, i dont know how to use JSL to add reference lines..</description>
      <pubDate>Thu, 28 Feb 2019 19:55:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179727#M40213</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2019-02-28T19:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179729#M40215</link>
      <description>&lt;P&gt;I did not say to use a script. I said interactively. Try right-clicking on one of these axes and select Axis Settings. Add the reference lines you want and click OK. If it only adds it to one of them, the right-click and select Edit &amp;gt; Copy Axis Settings. Hold&amp;nbsp;the Control key, right-click on another axis, and select Edit &amp;gt; Paste Axis Settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does either way work?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:58:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179729#M40215</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-02-28T19:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179763#M40217</link>
      <description>Yeah it works, But what i need is to add different ref. lines for each group,respectively. thanks !!</description>
      <pubDate>Thu, 28 Feb 2019 20:12:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179763#M40217</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2019-02-28T20:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179909#M40219</link>
      <description>&lt;P&gt;Hi, I found this script previously in the community and save it becuse I need to create charts with different reference lines per group, hope this is also what you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

// Different values for each group takes more work
gb2 = dt &amp;lt;&amp;lt; Graph Builder(
Size( 534, 488 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :weight ), Y( :height ), Group X( :sex ) ),
Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) )
);
gb2Rep = Report(gb2);
// Females . . .
gb2Rep[Framebox(1)] &amp;lt;&amp;lt; addGraphicsScript(
PenColor("Orange"); HLine(60);
Transparency(0.25);
FillColor("Green");
Rect(50, 60, 180, 55, 1);
FillColor("Blue");
Rect(50, 65, 180, 60, 1);
);
// Males . . .
gb2Rep[Framebox(2)] &amp;lt;&amp;lt; addGraphicsScript(
PenColor("Orange"); HLine(65);
Transparency(0.25);
FillColor("Green");
Rect(50, 65, 180, 60, 1);
FillColor("Blue");
Rect(50, 70, 180, 65, 1);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 22:19:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179909#M40219</guid>
      <dc:creator>AndresGlez</dc:creator>
      <dc:date>2019-02-28T22:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179951#M40221</link>
      <description>thanks a lot , it helps~</description>
      <pubDate>Thu, 28 Feb 2019 21:59:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/179951#M40221</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2019-02-28T21:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/180521#M40228</link>
      <description>&lt;P&gt;This suggestion involves scripting but it is minimal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Right-click in one of the plots and select &lt;STRONG&gt;Customize&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Add&lt;/STRONG&gt; (plus sign).&lt;/LI&gt;
&lt;LI&gt;Type &lt;STRONG&gt;H Line( Y )&lt;/STRONG&gt;, where the &lt;STRONG&gt;Y&lt;/STRONG&gt; argument is the value for the reference line.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Repeat this process for each plot that requires a unique reference line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that if you save a script now, it should include the customizations that you made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you can precede the graphic function with others to first determine attributes like color and line style.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 10:41:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/180521#M40228</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-03-01T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/180577#M40232</link>
      <description>GOT IT~ THANKS A LOT</description>
      <pubDate>Fri, 01 Mar 2019 12:16:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/180577#M40232</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2019-03-01T12:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/274965#M53350</link>
      <description>&lt;P&gt;This script is what I am looking for, but it assumes that the data in Framebox(1) is for the Female group. How could I test this to make sure that I was the lines to the correct Framebox?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 12:29:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/274965#M53350</guid>
      <dc:creator>Mark_W</dc:creator>
      <dc:date>2020-06-23T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/275035#M53367</link>
      <description>&lt;P&gt;You could send the &amp;lt;&amp;lt; Select message to the object reference and verify the desired frame box is selected.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 15:12:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/275035#M53367</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-06-23T15:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/275040#M53369</link>
      <description>&lt;P&gt;Thank for your the quick reply, but I am very new to JMP Scripting and I do not understand your suggestion. Would you update the example code with your suggestion. I have been trying to find some title or text that references the data in the Frame Box and I have not found it yet. (Thank you again)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 15:24:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/275040#M53369</guid>
      <dc:creator>Mark_W</dc:creator>
      <dc:date>2020-06-23T15:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple reference lines to each group on left Y-axis in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/275230#M53396</link>
      <description>&lt;P&gt;Hi Mark_W, I guest the easiest way to identify what Framebox you are assigning the instruction in your script is the following:&lt;/P&gt;&lt;P&gt;First create the graph using graph builder (not using the script for now) assigning properly the (height, weight and sex accordingly to the analysis you want), after creating the chart, select Done to finish the analysis.&lt;/P&gt;&lt;P&gt;Right Click the gray triangle in the upper left corner and select Edit, Show Tree Structure, it will display all the components involved in the visualization of your chart with the corresponding names by default to each component, from there you just move your pointer across each component in the Tree Structure and you will see how the chart is selected also as both are interactively connected.&lt;/P&gt;&lt;P&gt;After you identify the corresponding name to the section you want to assign a specific line, then you can use the script to edit it.&lt;/P&gt;&lt;P&gt;Hope you get it.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 12:55:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-multiple-reference-lines-to-Y-axis-in-graph-builder/m-p/275230#M53396</guid>
      <dc:creator>AndresGlez</dc:creator>
      <dc:date>2020-06-24T12:55:54Z</dc:date>
    </item>
  </channel>
</rss>

