<?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: Proc Boxplot and decimal in labels in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167626#M43419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I did try the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Informat variable1 variable2 4.2;&lt;/P&gt;&lt;P&gt;format value f4.2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I put these statements after Boxplot statement and after the PLOT statement.&lt;/P&gt;&lt;P&gt;As I placed it after Boxplot statement, the log shows that there is no variable named VALUE. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; As I placed the format value f4.2 after the PLOT statement, the program couldn't run due to the invalid statement, in that it is not allow to use Format directly after PLOT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there other approaches to format the label and its decimals under BOXPLOT or PLOT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 16:13:56 GMT</pubDate>
    <dc:creator>scmax</dc:creator>
    <dc:date>2015-02-13T16:13:56Z</dc:date>
    <item>
      <title>Proc Boxplot and decimal in labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167624#M43417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Proc Boxplot and Plot syntax to draw a bar chart that contains error bars. For some reason, I need to label the mean of each box with maximum of 2 digits in decimal place.&lt;/P&gt;&lt;P&gt;So I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plot Variable1 * Variable2 /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALLLABEL = value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the output box in the diagram about the mean contains 3 digit decimal places (ex.: 3.123). How can I reduce the number of decimal digit to 2 or 1 (ex.: 3.1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 04:27:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167624#M43417</guid>
      <dc:creator>scmax</dc:creator>
      <dc:date>2015-02-13T04:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Boxplot and decimal in labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167625#M43418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried having a Format Value f4.2; statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167625#M43418</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-02-13T15:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Boxplot and decimal in labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167626#M43419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I did try the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Informat variable1 variable2 4.2;&lt;/P&gt;&lt;P&gt;format value f4.2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I put these statements after Boxplot statement and after the PLOT statement.&lt;/P&gt;&lt;P&gt;As I placed it after Boxplot statement, the log shows that there is no variable named VALUE. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; As I placed the format value f4.2 after the PLOT statement, the program couldn't run due to the invalid statement, in that it is not allow to use Format directly after PLOT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there other approaches to format the label and its decimals under BOXPLOT or PLOT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 16:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167626#M43419</guid>
      <dc:creator>scmax</dc:creator>
      <dc:date>2015-02-13T16:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Boxplot and decimal in labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167627#M43420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might want to post your entire proc code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 16:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167627#M43420</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-02-13T16:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Boxplot and decimal in labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167628#M43421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ballardw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply. Here ares the codes I used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS off;&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Output the graphs using BOXPLOT*/&lt;/P&gt;&lt;P&gt; ODS LISTING;&lt;/P&gt;&lt;P&gt; symbol value=DIAMONDFILLED color=black;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Title1 'xxx';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Proc BOXPLOT DATA= dt1;&lt;/P&gt;&lt;P&gt; Informat PEAK MIN MEAN PER10 PER50 PER90 4.1;&lt;/P&gt;&lt;P&gt; Format &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Device.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where ID &amp;gt; 1 &amp;amp; ID ^= 2&amp;nbsp;&amp;nbsp; /* &amp;amp; ID ^= 13*/&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Format Value f4.2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plot PEAK*Device /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* vformat = percent8.2 */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALLLABEL = value&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* vref= 46.36 cvref=red&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boxstyle = skeletal &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boxwidth=7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CBOXFILL = GRAYFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label PEAK = ' Peak Speed (Degree/Second)';&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label Device = 'Devices'; &lt;/P&gt;&lt;P&gt; Run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 19:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Boxplot-and-decimal-in-labels/m-p/167628#M43421</guid>
      <dc:creator>scmax</dc:creator>
      <dc:date>2015-02-13T19:31:41Z</dc:date>
    </item>
  </channel>
</rss>

