<?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: want scripted Graph Builder to show control limits that are saved as Column Properties in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/436638#M68576</link>
    <description>&lt;P&gt;Oops, my error&lt;/P&gt;
&lt;P&gt;You can add an Add Ref Line to your code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), FitLine );
rbiv = biv &amp;lt;&amp;lt; report;
axisbox = rbiv[axis box( 1 )];
axisbox &amp;lt;&amp;lt; Add Ref Line(
	108.3182, "Dashed", blue, "M mean", 2
);
axisbox &amp;lt;&amp;lt; Add Ref Line(
	100.9444, "Dotted", red, "F mean", 2
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;The main item you will have to add to this, is to code to extract the Control Limits. You can use&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;CL = &lt;SPAN class="lia-emoticons-autosuggestions"&gt;&lt;SPAN class="lia-emoticons-search-term"&gt;:weight&lt;/SPAN&gt;&lt;/SPAN&gt; &amp;lt;&amp;lt; get property("Control Limits");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;retrieve the limits.&amp;nbsp; Take a look at what is retrieved into CL, so you can determine how to parse out the limits you need.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 22:29:39 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-11-15T22:29:39Z</dc:date>
    <item>
      <title>want scripted Graph Builder to show control limits that are saved as Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/434630#M68431</link>
      <description>&lt;P&gt;I have a script that opens a data table and generates charts with Graph Builder. Many columns in the table have control limits saved as column properties. How can I get the Graph Builder to display the control limits on the charts? I'd use Control Chart builder but I haven't been able to make that work with column switcher.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I figured out how to make the columns switcher work with Control Chart Builder, but I'd still prefer to use Graph Builder because it lets me color or overlay by a column which Control Chart Builder doesn't let me do. I'd also like to have a logarithmic y-axis sometimes which Control Chart platform doesn't allow.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:19:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/434630#M68431</guid>
      <dc:creator>tim_reeves</dc:creator>
      <dc:date>2023-06-11T11:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: want scripted Graph Builder to show control limits that are saved as Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/434728#M68436</link>
      <description>&lt;P&gt;I assume the issue is that you have not selected the "Show Limits" in the Spec Limits Dialog window.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1636494000074.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37450iCACF24789E8BD9BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1636494000074.png" alt="txnelson_0-1636494000074.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 21:40:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/434728#M68436</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-11-09T21:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: want scripted Graph Builder to show control limits that are saved as Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/436600#M68569</link>
      <description>&lt;P&gt;That would work for Spec Limits but it doesn't work for control limits. These are pre-calculated control limits that have been stored as column properties.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 18:02:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/436600#M68569</guid>
      <dc:creator>tim_reeves</dc:creator>
      <dc:date>2021-11-15T18:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: want scripted Graph Builder to show control limits that are saved as Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/436638#M68576</link>
      <description>&lt;P&gt;Oops, my error&lt;/P&gt;
&lt;P&gt;You can add an Add Ref Line to your code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), FitLine );
rbiv = biv &amp;lt;&amp;lt; report;
axisbox = rbiv[axis box( 1 )];
axisbox &amp;lt;&amp;lt; Add Ref Line(
	108.3182, "Dashed", blue, "M mean", 2
);
axisbox &amp;lt;&amp;lt; Add Ref Line(
	100.9444, "Dotted", red, "F mean", 2
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;The main item you will have to add to this, is to code to extract the Control Limits. You can use&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;CL = &lt;SPAN class="lia-emoticons-autosuggestions"&gt;&lt;SPAN class="lia-emoticons-search-term"&gt;:weight&lt;/SPAN&gt;&lt;/SPAN&gt; &amp;lt;&amp;lt; get property("Control Limits");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;retrieve the limits.&amp;nbsp; Take a look at what is retrieved into CL, so you can determine how to parse out the limits you need.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 22:29:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/want-scripted-Graph-Builder-to-show-control-limits-that-are/m-p/436638#M68576</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-11-15T22:29:39Z</dc:date>
    </item>
  </channel>
</rss>

