<?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: With respect to proc shewhart-pchart statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630342#M186600</link>
    <description>&lt;P&gt;PROC SHEWHART is a little weird compared to the more modern graphical procedures. Please try it with&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS OFF;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead of with&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS ON;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Mar 2020 11:42:43 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-03-07T11:42:43Z</dc:date>
    <item>
      <title>With respect to proc shewhart-pchart statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630311#M186587</link>
      <description>&lt;P&gt;I use two test-related statements, and the control chart is out of control.&lt;BR /&gt;Why don't the red words and red lines appear?&lt;BR /&gt;How do I adjust the grammar？&lt;BR /&gt;thank you for your response&lt;/P&gt;&lt;P&gt;.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PChart8.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36665i23FBB8D053CC9854/image-size/large?v=v2&amp;amp;px=999" role="button" title="PChart8.png" alt="PChart8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
input sequ n subgroup  y m;
datalines;
1	227	1650	2018	1
2	178	1522	2018	2
3	184	1563	2018	3
4	180	1523	2018	4
5	179	1653	2018	5
6	186	1520	2018	6
7	195	1596	2018	7
8	157	1588	2018	8
9	165	1592	2018	9
10	200	1561	2018	10
11	89	1554	2018	11
12	110	1646	2018	12
13	120	1662	2019	1
14	119	1581	2019	2
15	183	1676	2019	3
16	161	1607	2019	4
17	196	1769	2019	5
18	140	1651	2019	6
19	293	1723	2019	7
20	211	1747	2019	8
21	207	1670	2019	9
22	164	1658	2019	10
23	100	1644	2019	11
24	121	1664	2019	12
;run;

ods graphics on / width=1600 height=600  ;
title "notitle_p chart";
proc shewhart data=a;
pchart n*sequ (y m) /
subgroupn = subgroup
odstitle=title
tests=1 2 3 5
test2run=8
alln
haxis=1 to 25 by 1
yscale=percent
markers
nohlabel
nochart2
blockpos=3
blocklabelpos=left
rtmplot=histogram
ltmplot=schematic
rtmargin=10
ltmargin=4
zonelabels;
Label  n="I am n"  y="year"  m="month";
run;title; ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 03:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630311#M186587</guid>
      <dc:creator>Cingchih</dc:creator>
      <dc:date>2020-03-07T03:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: With respect to proc shewhart-pchart statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630342#M186600</link>
      <description>&lt;P&gt;PROC SHEWHART is a little weird compared to the more modern graphical procedures. Please try it with&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS OFF;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead of with&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS ON;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 11:42:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630342#M186600</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-07T11:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: With respect to proc shewhart-pchart statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630354#M186607</link>
      <description>&lt;P&gt;If I turn off ods graphics, I will not be able to output large images. Or is there another way to overcome it?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Because I can't increase the size of text and numbers, I can only use ods graphics to output them as .tiff files, and then convert them to JPG files through LIGHTROOM. This text size is acceptable in this method.&lt;BR /&gt;If I setup ods graphics off, how do I set the width and height of the graphics and increase the size of the text and numbers, then please provide a method, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I setup ODS GRAPHICS on the irchart statement (individual chart), the data points that exceed the control limits can be displayed in red. However, I can't succeed on the pchart.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IChart7.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36668i824A3648F7902B98/image-size/large?v=v2&amp;amp;px=999" role="button" title="IChart7.png" alt="IChart7.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 14:34:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630354#M186607</guid>
      <dc:creator>Cingchih</dc:creator>
      <dc:date>2020-03-07T14:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: With respect to proc shewhart-pchart statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630362#M186611</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;If I turn off ods graphics, I will not be able to output large images. Or is there another way to overcome it?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think this is true. Please give it a try.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 14:39:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/630362#M186611</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-07T14:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: With respect to proc shewhart-pchart statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/631162#M186967</link>
      <description>&lt;P&gt;The problem has been solved.&lt;/P&gt;&lt;P&gt;Just add testnmethod = standardize to the options after the pchart statement&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 06:24:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/With-respect-to-proc-shewhart-pchart-statement/m-p/631162#M186967</guid>
      <dc:creator>Cingchih</dc:creator>
      <dc:date>2020-03-11T06:24:51Z</dc:date>
    </item>
  </channel>
</rss>

