<?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: Altering default text of spec limits labels on histograms in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48019#M27326</link>
    <description>&lt;P&gt;You need to familiarize yourself with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting Index&lt;/P&gt;
&lt;P&gt;It will show you what options are available and examples on how to use them.&lt;/P&gt;
&lt;P&gt;Below is a simple script that generates the following display&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nocapability.PNG" style="width: 712px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8544i6C1FBB88717AFC7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="nocapability.PNG" alt="nocapability.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" );
dis = Distribution(
	Continuous Distribution( Column( :NPN1 ), 
	Horizontal Layout( 1 ), 
	Vertical( 0 ) )
);
dis &amp;lt;&amp;lt; Capability Analysis( 0 );
specs = dt:npn1 &amp;lt;&amp;lt; get property( "spec limits" );
Report( dis )[Axis Box( 1 )] &amp;lt;&amp;lt; Add Ref Line( specs["LSL"], "Solid", Black, "The LSL", 1 );
Report( dis )[Axis Box( 1 )] &amp;lt;&amp;lt; Add Ref Line( specs["USL"], "Solid", Black, "The USL", 1 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 01 Dec 2017 03:29:42 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-12-01T03:29:42Z</dc:date>
    <item>
      <title>Altering default text of spec limits labels on histograms</title>
      <link>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/47970#M27307</link>
      <description>&lt;P&gt;I&amp;nbsp;am trying to figure out whether it is possible to customize the default "LSL" and "USL" labels that appear at the top of the vertical lines that represent the specification limits on histograms in the Distribution platform. I have checked the "Customize..." dialogue, and it seems that only the color of the "Upper Label" item can be changed there. I can also find nothing specifying the label text in the corresponding generated JSL. Help would be appreciated. Please see attached file for an example of the "USL" label.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 17:32:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/47970#M27307</guid>
      <dc:creator>SQC</dc:creator>
      <dc:date>2017-11-30T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Altering default text of spec limits labels on histograms</title>
      <link>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48013#M27324</link>
      <description>&lt;P&gt;There is not a way to change the Segment Label for the builtin LSL, Target and USL display for the histogram.&amp;nbsp; However, you can specify to not display any of the spec limits, and then add your own Reference Lines where you can specify any labeling you want.&amp;nbsp; The difference is that the label will be on the axis side of the graph.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
Dis = Distribution(
	Continuous Distribution( Column( :height ), 
	Horizontal Layout( 1 ), Vertical( 0 ) ),
	Histograms Only
);
Report( Dis )[Axis Box( 1 )] &amp;lt;&amp;lt; Add Ref Line( 55, "Solid", "Black", "Bottom", 1 );
Report( Dis )[Axis Box( 1 )] &amp;lt;&amp;lt; Add Ref Line( 67, "Solid", "Black", "Top", 1 );
Report( Dis )[Frame Box( 1 )] &amp;lt;&amp;lt; Reference Line Order( 3 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="refline.PNG" style="width: 345px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8541i0E764D7E6172B7DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="refline.PNG" alt="refline.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 01:41:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48013#M27324</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-12-01T01:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Altering default text of spec limits labels on histograms</title>
      <link>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48017#M27325</link>
      <description>&lt;P&gt;Thank you for the reply, txnelson.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Spec Limits for KSigma() with a fitted continuous distribution to generate the spec limits. I do want to leave the fitted continuous distribution curve on the histogram, but I do like your suggestion&amp;nbsp;to not display the spec limits. Is there a way to hide the "USL", "LSL", or "Target" text so I may then add reference lines over the spec limit lines that will remain on the histogram?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming there is not, I&amp;nbsp;am now trying to come up with a way to&amp;nbsp;script&amp;nbsp;the unchecking of "Spec Limits" in the red arrow menu so the limit lines and labels will be removed from the histogram, but the distribution curve will remain (if this works,&amp;nbsp;my plan is to pull the limits from "Quantiles: Uncentered and Unscaled" and add reference lines to the histogram).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My attempt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;FDS_rdist["Capability Analysis"] &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;unfortunately did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to send a message using Fit Handle to "unspec" limits and remove the capability analysis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 02:58:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48017#M27325</guid>
      <dc:creator>SQC</dc:creator>
      <dc:date>2017-12-01T02:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Altering default text of spec limits labels on histograms</title>
      <link>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48019#M27326</link>
      <description>&lt;P&gt;You need to familiarize yourself with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting Index&lt;/P&gt;
&lt;P&gt;It will show you what options are available and examples on how to use them.&lt;/P&gt;
&lt;P&gt;Below is a simple script that generates the following display&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nocapability.PNG" style="width: 712px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8544i6C1FBB88717AFC7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="nocapability.PNG" alt="nocapability.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" );
dis = Distribution(
	Continuous Distribution( Column( :NPN1 ), 
	Horizontal Layout( 1 ), 
	Vertical( 0 ) )
);
dis &amp;lt;&amp;lt; Capability Analysis( 0 );
specs = dt:npn1 &amp;lt;&amp;lt; get property( "spec limits" );
Report( dis )[Axis Box( 1 )] &amp;lt;&amp;lt; Add Ref Line( specs["LSL"], "Solid", Black, "The LSL", 1 );
Report( dis )[Axis Box( 1 )] &amp;lt;&amp;lt; Add Ref Line( specs["USL"], "Solid", Black, "The USL", 1 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Dec 2017 03:29:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Altering-default-text-of-spec-limits-labels-on-histograms/m-p/48019#M27326</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-12-01T03:29:42Z</dc:date>
    </item>
  </channel>
</rss>

