<?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 How to Save a Control Chart as a PNG etc in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Save-a-Control-Chart-as-a-PNG-etc/m-p/672589#M86030</link>
    <description>&lt;P&gt;I have the following script that produces a nice control chart, I'd like to add on a function to save it(or the window) as a png to a folder I can share with others?&lt;BR /&gt;&lt;BR /&gt;Data Table("sampledata")&lt;BR /&gt;&amp;lt;&amp;lt; New Script(&lt;BR /&gt;"Control Chart - 1",&lt;BR /&gt;Control Chart Builder(&lt;BR /&gt;Size( 960, 767 ),&lt;BR /&gt;Show Alarm Report( 1 ),&lt;BR /&gt;Show Limit Labels( 1 ),&lt;BR /&gt;Show Sigma Report( 1 ),&lt;BR /&gt;Include Missing Categories( 0 ),&lt;BR /&gt;Variables(&lt;BR /&gt;Subgroup( :time ),&lt;BR /&gt;Subgroup( :unit, Position( 1 ) ),&lt;BR /&gt;Y( :parameter 1&amp;nbsp;)&lt;BR /&gt;),&lt;BR /&gt;Chart(&lt;BR /&gt;Position( 1 ),&lt;BR /&gt;Points( Statistic( "Individual" ) ),&lt;BR /&gt;Limits( Sigma( "Moving Range" ) ),&lt;BR /&gt;Warnings(&lt;BR /&gt;Test 1( 1 ),&lt;BR /&gt;Test 2( 1 ),&lt;BR /&gt;Test 3( 1 ),&lt;BR /&gt;Test 4( 1 ),&lt;BR /&gt;Test 5( 1 ),&lt;BR /&gt;Test 6( 1 ),&lt;BR /&gt;Test 7( 1 ),&lt;BR /&gt;Test 8( 1 ),&lt;BR /&gt;Rule 1 2S( 1 ),&lt;BR /&gt;Rule 1 3S( 1 ),&lt;BR /&gt;Rule 2 2S( 1 ),&lt;BR /&gt;Rule R 4S( 1 ),&lt;BR /&gt;Rule 4 1S( 1 ),&lt;BR /&gt;Rule 10 X( 1 ),&lt;BR /&gt;Test Beyond Limits( 1 )&lt;BR /&gt;),&lt;BR /&gt;Process Capability Analysis( Histogram( 1, Show Within Sigma Density( 0 ) ) )&lt;BR /&gt;),&lt;BR /&gt;Chart(&lt;BR /&gt;Position( 2 ),&lt;BR /&gt;Points( Statistic( "Moving Range" ) ),&lt;BR /&gt;Limits( Sigma( "Moving Range" ) ),&lt;BR /&gt;Warnings( Test Beyond Limits( 1 ) )&lt;BR /&gt;),&lt;BR /&gt;Chart(&lt;BR /&gt;Position( 3 ),&lt;BR /&gt;Points( Statistic( "Moving Range" ) ),&lt;BR /&gt;Limits( Sigma( "Moving Range" ) ),&lt;BR /&gt;Warnings( Test Beyond Limits( 1 ) )&lt;BR /&gt;),&lt;BR /&gt;Local Data Filter( Add Filter( columns( :filter 1 ) ) ),&lt;BR /&gt;Show Control Panel( 0 ),&lt;BR /&gt;SendToReport(&lt;BR /&gt;Dispatch(&lt;BR /&gt;{},&lt;BR /&gt;"parameter 2",&lt;BR /&gt;ScaleBox,&lt;BR /&gt;{Format( "Fixed Dec", 12, 2 ), Min( 0 ), Max( 1), Inc( 0.1 ),&lt;BR /&gt;Minor Ticks( 0 )}))));&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2023 15:22:51 GMT</pubDate>
    <dc:creator>CuriousRobin</dc:creator>
    <dc:date>2023-08-30T15:22:51Z</dc:date>
    <item>
      <title>How to Save a Control Chart as a PNG etc</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Save-a-Control-Chart-as-a-PNG-etc/m-p/672589#M86030</link>
      <description>&lt;P&gt;I have the following script that produces a nice control chart, I'd like to add on a function to save it(or the window) as a png to a folder I can share with others?&lt;BR /&gt;&lt;BR /&gt;Data Table("sampledata")&lt;BR /&gt;&amp;lt;&amp;lt; New Script(&lt;BR /&gt;"Control Chart - 1",&lt;BR /&gt;Control Chart Builder(&lt;BR /&gt;Size( 960, 767 ),&lt;BR /&gt;Show Alarm Report( 1 ),&lt;BR /&gt;Show Limit Labels( 1 ),&lt;BR /&gt;Show Sigma Report( 1 ),&lt;BR /&gt;Include Missing Categories( 0 ),&lt;BR /&gt;Variables(&lt;BR /&gt;Subgroup( :time ),&lt;BR /&gt;Subgroup( :unit, Position( 1 ) ),&lt;BR /&gt;Y( :parameter 1&amp;nbsp;)&lt;BR /&gt;),&lt;BR /&gt;Chart(&lt;BR /&gt;Position( 1 ),&lt;BR /&gt;Points( Statistic( "Individual" ) ),&lt;BR /&gt;Limits( Sigma( "Moving Range" ) ),&lt;BR /&gt;Warnings(&lt;BR /&gt;Test 1( 1 ),&lt;BR /&gt;Test 2( 1 ),&lt;BR /&gt;Test 3( 1 ),&lt;BR /&gt;Test 4( 1 ),&lt;BR /&gt;Test 5( 1 ),&lt;BR /&gt;Test 6( 1 ),&lt;BR /&gt;Test 7( 1 ),&lt;BR /&gt;Test 8( 1 ),&lt;BR /&gt;Rule 1 2S( 1 ),&lt;BR /&gt;Rule 1 3S( 1 ),&lt;BR /&gt;Rule 2 2S( 1 ),&lt;BR /&gt;Rule R 4S( 1 ),&lt;BR /&gt;Rule 4 1S( 1 ),&lt;BR /&gt;Rule 10 X( 1 ),&lt;BR /&gt;Test Beyond Limits( 1 )&lt;BR /&gt;),&lt;BR /&gt;Process Capability Analysis( Histogram( 1, Show Within Sigma Density( 0 ) ) )&lt;BR /&gt;),&lt;BR /&gt;Chart(&lt;BR /&gt;Position( 2 ),&lt;BR /&gt;Points( Statistic( "Moving Range" ) ),&lt;BR /&gt;Limits( Sigma( "Moving Range" ) ),&lt;BR /&gt;Warnings( Test Beyond Limits( 1 ) )&lt;BR /&gt;),&lt;BR /&gt;Chart(&lt;BR /&gt;Position( 3 ),&lt;BR /&gt;Points( Statistic( "Moving Range" ) ),&lt;BR /&gt;Limits( Sigma( "Moving Range" ) ),&lt;BR /&gt;Warnings( Test Beyond Limits( 1 ) )&lt;BR /&gt;),&lt;BR /&gt;Local Data Filter( Add Filter( columns( :filter 1 ) ) ),&lt;BR /&gt;Show Control Panel( 0 ),&lt;BR /&gt;SendToReport(&lt;BR /&gt;Dispatch(&lt;BR /&gt;{},&lt;BR /&gt;"parameter 2",&lt;BR /&gt;ScaleBox,&lt;BR /&gt;{Format( "Fixed Dec", 12, 2 ), Min( 0 ), Max( 1), Inc( 0.1 ),&lt;BR /&gt;Minor Ticks( 0 )}))));&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 15:22:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Save-a-Control-Chart-as-a-PNG-etc/m-p/672589#M86030</guid>
      <dc:creator>CuriousRobin</dc:creator>
      <dc:date>2023-08-30T15:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Save a Control Chart as a PNG etc</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Save-a-Control-Chart-as-a-PNG-etc/m-p/672605#M86031</link>
      <description>&lt;P&gt;This example for the Scripting Index should illustrate how to do it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
//This message applies to all display box objects
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt &amp;lt;&amp;lt; Bivariate( y( :weight ), x( :height ) );
rbiv = biv &amp;lt;&amp;lt; report;
rbiv &amp;lt;&amp;lt; Save Picture( "$TEMP/jmp_example.png", "png" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Aug 2023 15:35:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Save-a-Control-Chart-as-a-PNG-etc/m-p/672605#M86031</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-08-30T15:35:03Z</dc:date>
    </item>
  </channel>
</rss>

