<?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 to change y axis scale in boxplot ? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757493#M30127</link>
    <description>&lt;P&gt;Try adding a&lt;/P&gt;
&lt;P&gt;yaxis values=(0 to 6E-4 by 1E-4); if you expect to display the maximum value, which likely won't show much of a box.&lt;/P&gt;
&lt;P&gt;yaxis values=(0 to 5E-7 by&amp;nbsp; 1E-7); to show the IQR but will trim out the larger values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR use a logarithmic axis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And possibly increase the size of the graphic area a bunch. Like at least 12 inches tall or 320CM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The IQR is so small that you may still not see things because the thickness of the lines may be larger that values.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 19:40:38 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-07-27T19:40:38Z</dc:date>
    <item>
      <title>How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757468#M30126</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to display a boxplot of a quantitative variable (Y) according to a binary variable (X) so i used this code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT DATA=LNH; 
vbox Y/category=X; 
RUN; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the boxplot is not readable ; the y axis scale is not appropriate since my quantitative variable has very small values :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Median = 5.20*10^-8;&lt;/P&gt;
&lt;P&gt;Q1 (25%)= 4.02*10-9;&lt;/P&gt;
&lt;P&gt;Q3 (75%)=3.12*10^-7 ;&lt;/P&gt;
&lt;P&gt;Mininum value=0;&lt;/P&gt;
&lt;P&gt;Maximum value=5.77*10^-4;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I change the y axis scale to get a relevant boxplot ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757468#M30126</guid>
      <dc:creator>Aline1610</dc:creator>
      <dc:date>2021-07-27T19:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757493#M30127</link>
      <description>&lt;P&gt;Try adding a&lt;/P&gt;
&lt;P&gt;yaxis values=(0 to 6E-4 by 1E-4); if you expect to display the maximum value, which likely won't show much of a box.&lt;/P&gt;
&lt;P&gt;yaxis values=(0 to 5E-7 by&amp;nbsp; 1E-7); to show the IQR but will trim out the larger values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR use a logarithmic axis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And possibly increase the size of the graphic area a bunch. Like at least 12 inches tall or 320CM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The IQR is so small that you may still not see things because the thickness of the lines may be larger that values.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757493#M30127</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-27T19:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757505#M30128</link>
      <description>&lt;P&gt;Thank you for your reply !&lt;/P&gt;&lt;P&gt;Ok i will try these points but can you please tell me where exactly should i put yaxis values=&lt;SPAN&gt;(0 to 6E-4 by 1E-4) in my code&lt;/SPAN&gt; cause it gave me errors.&lt;/P&gt;&lt;P&gt;And what is the code to use a logarithmic axis ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757505#M30128</guid>
      <dc:creator>Aline1610</dc:creator>
      <dc:date>2021-07-27T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757509#M30129</link>
      <description>The YAXIS is a statement on it's own. &lt;BR /&gt;Look at the options within the statement (hint = TYPE) for how to set your axis as logarithmic. &lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n0n6uml63c6h8dn16phbd1arm9g9.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n0n6uml63c6h8dn16phbd1arm9g9.htm&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757509#M30129</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-27T19:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757511#M30130</link>
      <description>&lt;P&gt;Please note that my example included the ; to end the statement.&lt;/P&gt;
&lt;P&gt;When you get errors copy the entire procedure code from the log, open a text box on the forum with the &amp;lt;/&amp;gt; icon, then paste the copied text in the box. Include the entire procedure and all of the messages, not just the error.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 19:59:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757511#M30130</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-27T19:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757513#M30131</link>
      <description>Ok thank u it's clearer</description>
      <pubDate>Tue, 27 Jul 2021 20:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757513#M30131</guid>
      <dc:creator>Aline1610</dc:creator>
      <dc:date>2021-07-27T20:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change y axis scale in boxplot ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757514#M30132</link>
      <description>Thank you for the link it will help me !</description>
      <pubDate>Tue, 27 Jul 2021 20:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-change-y-axis-scale-in-boxplot/m-p/757514#M30132</guid>
      <dc:creator>Aline1610</dc:creator>
      <dc:date>2021-07-27T20:03:14Z</dc:date>
    </item>
  </channel>
</rss>

