<?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: Some Limit Lines on One Graph in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268157#M52209</link>
    <description>&lt;P&gt;Thanks,your&amp;nbsp;reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be honest, I want to see the change of&amp;nbsp;measurement items in time by setting time on the horizontal axis and the same measurement items on the vertical axis.&lt;/P&gt;&lt;P&gt;And at that time, I want to set a different value for Spec limit at each time.&lt;/P&gt;&lt;P&gt;Can not this one?&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2020 15:52:19 GMT</pubDate>
    <dc:creator>Tatsuya</dc:creator>
    <dc:date>2020-05-21T15:52:19Z</dc:date>
    <item>
      <title>Some Limit Lines on One Graph</title>
      <link>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268132#M52203</link>
      <description>&lt;DIV class="tlid-input input has-transliteration"&gt;
&lt;DIV class="source-wrap"&gt;
&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;DIV class="source-input"&gt;
&lt;DIV class="tlid-source-transliteration-container source-transliteration-container transliteration-container"&gt;
&lt;DIV class="tlid-transliteration-content transliteration-content truncated"&gt;&lt;SPAN style="font-family: inherit;"&gt;Hello.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="tlid-results-container results-container"&gt;
&lt;DIV class="tlid-result result-dict-wrapper"&gt;
&lt;DIV class="result tlid-copy-target"&gt;
&lt;DIV class="text-wrap tlid-copy-target"&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;Thank you for JMP.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;I know how to output a Spec limit Line in one graph when the column property is set to Spec limit.&lt;/SPAN&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;However, when two plots are plotted on one graph as shown below, the Spec limit Line is not displayed.&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;How to display some Spec limit Lines on one graph like Image?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_DATA/Cars.jmp" );
Graph Builder(
	Variables(
		X( :Make ),
		Y( :Head IC ),
		Y( :Chest decel, Position( 1 ) ),
		Y( :L Leg, Position( 1 ) )
	),
	Elements( Points( X, Y( 1 ), Y( 2 ), Y( 3 ), Legend( 4 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;STRONG&gt;Note: spec limit is not set for this sample data&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;Thanks&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image-3.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24110i0BE1306D9161EBF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Image-3.png" alt="Image-3.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 May 2020 15:26:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268132#M52203</guid>
      <dc:creator>Tatsuya</dc:creator>
      <dc:date>2020-05-21T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Some Limit Lines on One Graph</title>
      <link>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268148#M52206</link>
      <description>&lt;P&gt;You can only show one set of lines for specifications in one plot. You can stack the plots in Graph Builder, though. Then the individual sets of specifications are plotted. I verified this claim by adding Spec Limits property to the three data columns used in the Y role in this example.&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; Graph Builder(
	Size( 534, 464 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :Make ), Y( :Chest decel ), Y( :L Leg ), Y( :L Leg ) ),
	Elements( Position( 1, 1 ), Points( X, Y, Legend( 6 ) ) ),
	Elements( Position( 1, 2 ), Points( X, Y, Legend( 7 ) ) ),
	Elements( Position( 1, 3 ), Points( X, Y, Legend( 8 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 May 2020 15:19:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268148#M52206</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-21T15:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Some Limit Lines on One Graph</title>
      <link>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268152#M52207</link>
      <description>&lt;P&gt;Alternatively, you would need to write a script to obtain the specification limits for each variable in the Y role and then add a set of reference lines to the vertical axis.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 15:22:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268152#M52207</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-21T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Some Limit Lines on One Graph</title>
      <link>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268156#M52208</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt; suggestion is correct.&amp;nbsp; There is also one additional item you need to be aware of, you can not label 2 reference lines the same.....which may actually be the underlining issue with not being able to graph 2 spec limits automatically.&amp;nbsp; However, below is a simple example of overcoming the issues&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="two.PNG" style="width: 952px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24111i92D893E415448545/image-size/large?v=v2&amp;amp;px=999" role="button" title="two.PNG" alt="two.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
dt = open("$SAMPLE_DATA/semiconductor capability.jmp");
gb = Graph Builder(
	Variables( X( :SITE ), Y( :PNP1 ), Y( :NPN2, Position( 1 ) ) ),
	Elements( Points( X, Y( 1 ), Y( 2 ), Legend( 19 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"PNP1",
			ScaleBox,
			{Min( -275.218658892128 ), Max( 1128.57142857143 ), Inc( 200 ),
			Minor Ticks( 1 )}
		)
	)
);


axisbox = report(gb)[AxisBox(2)];
specs = dt:PNP1 &amp;lt;&amp;lt; get property("Spec Limits");
axisbox &amp;lt;&amp;lt; Add Ref Line( specs["LSL"], "Solid", blue, "LSL1", 2 );
axisbox &amp;lt;&amp;lt; Add Ref Line( specs["USL"], "Solid", green, "USL1", 2 );

specs = dt:PNP2 &amp;lt;&amp;lt; get property("Spec Limits");
axisbox &amp;lt;&amp;lt; Add Ref Line( specs["LSL"], "Solid", red, "LSL2", 2 );
axisbox &amp;lt;&amp;lt; Add Ref Line( specs["USL"], "Solid", yellow, "USL2", 2 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 15:44:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268156#M52208</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-05-21T15:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Some Limit Lines on One Graph</title>
      <link>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268157#M52209</link>
      <description>&lt;P&gt;Thanks,your&amp;nbsp;reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be honest, I want to see the change of&amp;nbsp;measurement items in time by setting time on the horizontal axis and the same measurement items on the vertical axis.&lt;/P&gt;&lt;P&gt;And at that time, I want to set a different value for Spec limit at each time.&lt;/P&gt;&lt;P&gt;Can not this one?&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 15:52:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-Limit-Lines-on-One-Graph/m-p/268157#M52209</guid>
      <dc:creator>Tatsuya</dc:creator>
      <dc:date>2020-05-21T15:52:19Z</dc:date>
    </item>
  </channel>
</rss>

