<?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 show USL/LSL lines enabled via the property &amp;quot;Show as Graph Reference Lines&amp;quot; in box-plots/distribution via Graph Builder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631492#M82979</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28235"&gt;@Neo&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The +/-10 was just to illustrate the point - it's simple to set the Axis limits to +/-5% instead by changing to something like the below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt= current data table();
Lim = dt:data &amp;lt;&amp;lt; Get Property ("Spec Limits");

// Change column property: data
dt:data &amp;lt;&amp;lt; Set Property(
	"Axis",
	{Min( (Lim ["LSL"]*.95) ), Max( (Lim ["USL"]*1.05) ), Inc( 10 ), Minor Ticks( 1 )}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Of course, taking this approach will still run into issues if your data breaches both your spec limit, and whatever level you choose for the axis limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you're on 16.2.0, the easiest first point of call would be to ask your site JMP representative to upgrade to JMP 17&amp;nbsp; to see if that helps resolve the issue - As I said, I can't duplicate your exact problem when I run your script in 17.1, so that will hopefully be the simplest way to resolve this!&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 12:33:13 GMT</pubDate>
    <dc:creator>Stuart_Little</dc:creator>
    <dc:date>2023-05-12T12:33:13Z</dc:date>
    <item>
      <title>How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631018#M82925</link>
      <description>&lt;P&gt;I am coming from here&lt;/P&gt;&lt;P&gt;&lt;A title="from here" href="https://community.jmp.com/t5/Discussions/How-to-programmatically-enable-quot-Show-as-Graph-Reference/m-p/630540/thread-id/82871#M82875" target="_self"&gt;https://community.jmp.com/t5/Discussions/How-to-programmatically-enable-quot-Show-as-Graph-Reference/m-p/630540/thread-id/82871#M82875&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where I got help to enable&lt;SPAN&gt;&amp;nbsp;"Show as Graph Reference Lines" programmatically. However the USL and LSL blue lines are shown at the extremities of the y-axis when I generate box-plots or distribution via the Graph Builder. This is not satisfactory. I have attached the data table with plotting script inside to show the effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(This is not the case for the example shown in the post I linked above for some reason! why?)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neo_0-1683808456997.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52728i1CE7801421F77C00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neo_0-1683808456997.png" alt="Neo_0-1683808456997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to auto-scale the y-axis each time I plot a column in my actual data which all have different limits and scales so that the horizonal blue lines for LSL/USL are always visible on the y-axis. How to achieve this in JSL?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:09:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631018#M82925</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-06-09T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631410#M82962</link>
      <description>&lt;P&gt;I have searched the scripting index but did not get anywhere. Any leads would be appricated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 10:08:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631410#M82962</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-12T10:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631418#M82963</link>
      <description>&lt;P&gt;Depends on your application and on your data (auto-scaling might be difficult to implement, if JMP doesn't do good enough work for you). For example your table script works fine for me&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1683886646010.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52767i4CF94792A6713DBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1683886646010.png" alt="jthi_4-1683886646010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;h&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 10:18:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631418#M82963</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-12T10:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631427#M82966</link>
      <description>&lt;P&gt;Like Jarmo, the autoscaling works ok for your script in my iteration of JMP.&lt;/P&gt;
&lt;P&gt;It is possible to do this in JSL though (and I'm sure that better JSL scripters than me would produce cleaner code than me!) by using the axis settings:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt= current data table();
Lim = dt:data &amp;lt;&amp;lt; Get Property ("Spec Limits");  //gets array of Spec limits for named column

// Use Spec limit values to set Axis limits (currently as Spec limit +/-10)
dt:data &amp;lt;&amp;lt; Set Property(
	"Axis",
	{Min( (Lim ["LSL"]-10) ), Max( (Lim ["USL"]+10) ), Inc( 10 ), Minor Ticks( 1 )}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This works for the data column in the table you shared, and shouldn't take to much change to loop through a number of columns in a table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 10:55:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631427#M82966</guid>
      <dc:creator>Stuart_Little</dc:creator>
      <dc:date>2023-05-12T10:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631430#M82967</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;I am on JMP 16.2.0. Which JMP version is yours?&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:24:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631430#M82967</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-12T11:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631433#M82968</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/27303"&gt;@Stuart_Little&lt;/a&gt;&amp;nbsp; Thanks but this does not appear to be generic solution (due to the +/- 10).&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:26:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631433#M82968</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-12T11:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to show USL/LSL lines enabled via the property "Show as Graph Reference Lines" in box-plots/distribution via Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631492#M82979</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28235"&gt;@Neo&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The +/-10 was just to illustrate the point - it's simple to set the Axis limits to +/-5% instead by changing to something like the below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt= current data table();
Lim = dt:data &amp;lt;&amp;lt; Get Property ("Spec Limits");

// Change column property: data
dt:data &amp;lt;&amp;lt; Set Property(
	"Axis",
	{Min( (Lim ["LSL"]*.95) ), Max( (Lim ["USL"]*1.05) ), Inc( 10 ), Minor Ticks( 1 )}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Of course, taking this approach will still run into issues if your data breaches both your spec limit, and whatever level you choose for the axis limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you're on 16.2.0, the easiest first point of call would be to ask your site JMP representative to upgrade to JMP 17&amp;nbsp; to see if that helps resolve the issue - As I said, I can't duplicate your exact problem when I run your script in 17.1, so that will hopefully be the simplest way to resolve this!&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 12:33:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-show-USL-LSL-lines-enabled-via-the-property-quot-Show-as/m-p/631492#M82979</guid>
      <dc:creator>Stuart_Little</dc:creator>
      <dc:date>2023-05-12T12:33:13Z</dc:date>
    </item>
  </channel>
</rss>

