<?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 display the percentage symbol (%) next to the numbers on the y-axis of a P-chart (SPC chart)? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935782#M46647</link>
    <description>&lt;P&gt;Hello, I can get the number based on the percentage displayed on the y-axis using the following code with (&lt;CODE class=" language-sas"&gt;YSCALE=PERCENT&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;How can I fix it to display the "&lt;STRONG&gt;%&lt;/STRONG&gt;" &lt;STRONG&gt;symbol&lt;/STRONG&gt; next to each number on the y-axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc shewhart data=tmp2;
pchart yes_answer2*month /     subgroupn = n_per_group2 ODSTITLE="P-chart of Pts Counseling"
                                      outtable  = tmp2table  
                                      nohlabel nolegend  YSCALE=PERCENT ;    
LABEL yes_answer ="Prop of Pts counseled";
run;proc print noobs;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 11:39:58 GMT</pubDate>
    <dc:creator>bhr-q</dc:creator>
    <dc:date>2024-07-15T11:39:58Z</dc:date>
    <item>
      <title>How to display the percentage symbol (%) next to the numbers on the y-axis of a P-chart (SPC chart)?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935782#M46647</link>
      <description>&lt;P&gt;Hello, I can get the number based on the percentage displayed on the y-axis using the following code with (&lt;CODE class=" language-sas"&gt;YSCALE=PERCENT&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;How can I fix it to display the "&lt;STRONG&gt;%&lt;/STRONG&gt;" &lt;STRONG&gt;symbol&lt;/STRONG&gt; next to each number on the y-axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc shewhart data=tmp2;
pchart yes_answer2*month /     subgroupn = n_per_group2 ODSTITLE="P-chart of Pts Counseling"
                                      outtable  = tmp2table  
                                      nohlabel nolegend  YSCALE=PERCENT ;    
LABEL yes_answer ="Prop of Pts counseled";
run;proc print noobs;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 11:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935782#M46647</guid>
      <dc:creator>bhr-q</dc:creator>
      <dc:date>2024-07-15T11:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the percentage symbol (%) next to the numbers on the y-axis of a P-chart (SPC cha</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935900#M46650</link>
      <description>&lt;P&gt;You could disable ODS Graphics and use an AXIS statement, such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics off;&lt;BR /&gt;axis1 order=(0 to 50 by 10) value=('0%' '10%' '20%' '30%' '40%' '50%')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;label=("Pts Counseled") minor=none;&lt;BR /&gt;proc shewhart data=tmp2;&lt;BR /&gt;&amp;nbsp; pchart yes_answer2*month / subgroupn = n_per_group2 ODSTITLE="P-chart of Pts Counseling"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;outtable = tmp2table &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vaxis=axis1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nohlabel nolegend YSCALE=PERCENT ; &lt;BR /&gt;run;&lt;BR /&gt;ods graphics on;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 11:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935900#M46650</guid>
      <dc:creator>Zard</dc:creator>
      <dc:date>2024-07-16T11:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the percentage symbol (%) next to the numbers on the y-axis of a P-chart (SPC cha</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935945#M46656</link>
      <description>&lt;P&gt;Thank you for your response, I don't have a SAS/Graph license as I get the below warning with your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Traditional graphics are not available because either SAS/GRAPH is not licensed for your system, or the license has&lt;BR /&gt;expired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any other way I just want to put the '%'&amp;nbsp; beside the number in below plot:&lt;/P&gt;
&lt;DIV id="tinyMceEditorbhrq_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhrq_2-1721148961520.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98441i068671FF3E521AB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhrq_2-1721148961520.png" alt="bhrq_2-1721148961520.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 16:56:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/935945#M46656</guid>
      <dc:creator>bhr-q</dc:creator>
      <dc:date>2024-07-16T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the percentage symbol (%) next to the numbers on the y-axis of a P-chart (SPC cha</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/936072#M46671</link>
      <description>This is something Technical Support could address. You can send email from here &lt;A href="https://support.sas.com/en/technical-support.html#m-create-email" target="_blank"&gt;https://support.sas.com/en/technical-support.html#m-create-email&lt;/A&gt;</description>
      <pubDate>Wed, 17 Jul 2024 18:18:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/936072#M46671</guid>
      <dc:creator>Zard</dc:creator>
      <dc:date>2024-07-17T18:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the percentage symbol (%) next to the numbers on the y-axis of a P-chart (SPC cha</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/936118#M46674</link>
      <description>&lt;P&gt;I tried to get a % sign on the axis from a PROC SHEWHART p-chart and could not figure it out either.&amp;nbsp; If you find a way, please let us know.&amp;nbsp; : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can always output the data from PROC SHEWHART to a dataset, and use SGPLOT to make the plot.&amp;nbsp; &amp;nbsp;But I decided it wasn't worth the trouble, and just lived without the percentage signs.&amp;nbsp; I put % in the title, and in the axis label, and decided that was enough.&amp;nbsp; But it's weird that it's not there in the axis values by default, since PROC SHEWHART has already been told that the yscale is a %.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 01:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-display-the-percentage-symbol-next-to-the-numbers-on-the/m-p/936118#M46674</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-07-18T01:58:28Z</dc:date>
    </item>
  </channel>
</rss>

