<?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 do I plot multiple control charts on the same report ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12975#M12273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried Analyze&amp;gt;Quality and Process&amp;gt;Control Chart Builder and then use Phase to capture the different machines.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9092_Screen Shot 2015-06-25 at 9.24.26 AM.png" style="width: 1090px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1732i3D3D0B127338E8C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9092_Screen Shot 2015-06-25 at 9.24.26 AM.png" alt="9092_Screen Shot 2015-06-25 at 9.24.26 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 23:41:34 GMT</pubDate>
    <dc:creator>louv</dc:creator>
    <dc:date>2016-10-18T23:41:34Z</dc:date>
    <item>
      <title>How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12974#M12272</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a new JMP user and I have some difficulties to plot multiple control charts on the same report.&lt;/P&gt;
&lt;P&gt;Here is my problem:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am actually simulating a workshop that fills bottles for a fizzy drink. 3 steps are required on the process:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - a step where a concentrated solution is added&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - then the solution is diluted with water&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - and at the end, gas is added&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For each step of this process, there are different machines. Thus, I have:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - "Concentré M1", "Concentré M2" and "Concentré M3" that can add the concentrated solution&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - "Eau M4", "Eau M5" and "Eau M6" that can dilute the solution with water&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - "Gaz M7", "Gaz M8" and "Gaz M9" that can add gas to the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to have a picture with 3 control charts, one for each "Concentrated Machines".&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;par =
Control Chart(
  Sample Label( :date ),
  Group Size( 1 ),
  KSigma( 3 ),
  Chart Col(
  :Volume,
  Individual Measurement( Avg( 0 ), LCL( -0.8 ), UCL( 0.8 ) )
  ),
  By( :concentre )
);
 
rpar = par &amp;lt;&amp;lt; report;
rpar &amp;lt;&amp;lt; save picture( "C:\Users\ThaiBinh\Desktop\cc-concentre.png", png );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run this program, my 3 control charts are plotted but when I open my picture on the desktop, I only have the last control chart. Here is what I have:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9091_cc-concentre.png" style="width: 597px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1731iA191247DD69A4F49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9091_cc-concentre.png" alt="9091_cc-concentre.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can someone explain me how to obtain the 3 different control charts on the same picture ?&lt;/P&gt;
&lt;P&gt;Thank you for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NB: You will find attached the table that contains the data that I need to analyse.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:46:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12974#M12272</guid>
      <dc:creator>thaibinh_nguyen</dc:creator>
      <dc:date>2017-09-07T16:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12975#M12273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried Analyze&amp;gt;Quality and Process&amp;gt;Control Chart Builder and then use Phase to capture the different machines.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9092_Screen Shot 2015-06-25 at 9.24.26 AM.png" style="width: 1090px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1732i3D3D0B127338E8C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9092_Screen Shot 2015-06-25 at 9.24.26 AM.png" alt="9092_Screen Shot 2015-06-25 at 9.24.26 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:41:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12975#M12273</guid>
      <dc:creator>louv</dc:creator>
      <dc:date>2016-10-18T23:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12976#M12274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you LouV for your answer.&lt;/P&gt;&lt;P&gt;I tried your method and it works. However, those control charts are intended to people who are not specialized in SPC. And in your graph, it is not very clear that 3 machines were used to plot this control chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really want to have 3 seperate control charts, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9094_Capture.PNG" style="width: 549px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1734iF3EE5155808EFE35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9094_Capture.PNG" alt="9094_Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:41:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12976#M12274</guid>
      <dc:creator>thaibinh_nguyen</dc:creator>
      <dc:date>2016-10-18T23:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12977#M12275</link>
      <description>&lt;P&gt;LouV's solution is a good one and makes comparison much easier. One way to directly answer your question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create a journal window.&lt;BR /&gt;2. Wrap your control chart code in an expression.&lt;BR /&gt;3. Send the expression to the Journal.&lt;BR /&gt;4. Save the journal as a picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rwin = NewWindow("Picture Output", &amp;lt;&amp;lt;journal);
par = Expr(
Control Chart(
  Sample Label( :date ),
  Group Size( 1 ),
  KSigma( 3 ),
  Chart Col(
  :Volume,
  Individual Measurement( Avg( 0 ), LCL( -0.8 ), UCL( 0.8 ) )
  ),
  By( :concentre )
)
);

Current Journal()&amp;lt;&amp;lt;Append(par);
rwin &amp;lt;&amp;lt; Save Picture("C:\Users\ThaiBinh\Desktop\cc-concentre.png", png);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:52:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12977#M12275</guid>
      <dc:creator>stephen_pearson</dc:creator>
      <dc:date>2017-09-07T16:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12978#M12276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about just creating your charts natively in JMP and then executing a File -&amp;gt; Save As -&amp;gt; and save the report as a .jpeg file? One picture file then holds everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 15:27:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12978#M12276</guid>
      <dc:creator>Peter_Bartell</dc:creator>
      <dc:date>2015-06-25T15:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12979#M12277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you can try.....Analyze&amp;gt;Quality and Process&amp;gt;Control,Chart&amp;gt;IR and then group by Machine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9100_Screen Shot 2015-06-25 at 11.34.43 AM.png" style="width: 649px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1735i5D637954F6C083B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9100_Screen Shot 2015-06-25 at 11.34.43 AM.png" alt="9100_Screen Shot 2015-06-25 at 11.34.43 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9101_Screen Shot 2015-06-25 at 11.33.51 AM.png" style="width: 641px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1736iFDBA6FF26ED1BD6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9101_Screen Shot 2015-06-25 at 11.33.51 AM.png" alt="9101_Screen Shot 2015-06-25 at 11.33.51 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:42:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12979#M12277</guid>
      <dc:creator>louv</dc:creator>
      <dc:date>2016-10-18T23:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12980#M12278</link>
      <description>&lt;P&gt;The reason that your original code didn't work is because &lt;SPAN style="font-family: 'courier new', courier;"&gt;rpar&lt;/SPAN&gt; is a list of Control Chart platforms, one for each by group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA\Quality Control\Diameter.jmp" );

rpar = dt &amp;lt;&amp;lt; Control Chart(
  Sample Label( :DAY ),
  Group Size( 1 ),
  KSigma( 3 ),
  Chart Col( :DIAMETER, Individual Measurement, Moving Range ),
  By( :MACHINE )
);

Show( rpar );

/*: rpar = {Control Chart[], Control Chart[], Control Chart[]};&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, to the whole report windows, you'll need to get the report object for the first platform and then get a reference to its parent and save that as a picture.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA\Quality Control\Diameter.jmp" );
rpar = dt &amp;lt;&amp;lt; Control Chart(
  Sample Label( :DAY ),
  Group Size( 1 ),
  KSigma( 3 ),
  Chart Col( :DIAMETER, Individual Measurement, Moving Range ),
  By( :MACHINE )
);&lt;BR /&gt;
Show( rpar );&lt;BR /&gt;
reportparent = rpar[1] &amp;lt;&amp;lt; parent();

reportparent &amp;lt;&amp;lt; save picture( "~\Desktop\cc-concentre.png", png ); &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/people/LouV" target="_blank"&gt;LouV&lt;/A&gt;'s pointer to the &lt;A href="http://www.jmp.com/support/help/Control_Chart_Builder.shtml#1079193" target="_blank"&gt;Control Chart Builder&lt;/A&gt; platform is a good one also, even if you can't use the Phase column. You can use the By() statement. Over the next releases we will likely be deprecating the other Control Chart platform in favor of the Control Chart Builder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the same code using Control Chart Builder. The saving of the graphs works the same way.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA\Quality Control\Diameter.jmp" );
rpar = dt &amp;lt;&amp;lt; Control Chart Builder(
  Show Control Panel( 0 ),
  Show Capability( 0 ),
  Variables( Y( :DIAMETER ) ),
  Chart( Position( 1 ) ),
  Chart( Position( 2 ) ),
  By( :MACHINE )
);
Show( rpar );
reportparent= rpar[1] &amp;lt;&amp;lt; parent();
reportparent &amp;lt;&amp;lt; save picture( "~\Desktop\cc-concentre.png", png ); &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:51:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12980#M12278</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2017-09-07T16:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot multiple control charts on the same report ?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12981#M12279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hello and thank you to everybody for your answers.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried your different scripts and it works perfectly !&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;So once again thanks for your answers.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Have a good day,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thai-Binh Nguyen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 08:14:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-plot-multiple-control-charts-on-the-same-report/m-p/12981#M12279</guid>
      <dc:creator>thaibinh_nguyen</dc:creator>
      <dc:date>2015-06-26T08:14:17Z</dc:date>
    </item>
  </channel>
</rss>

