<?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 label bins on x axis in histogram in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735409#M21376</link>
    <description>&lt;P&gt;I don't think there is an RDI option.&amp;nbsp; Did you get syntax errors in the log?&lt;/P&gt;
&lt;P&gt;Use statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; COLAXIS values=(0 to 200 by 10);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=sashelp.cars;
  panelby origin / layout=rowlattice rows=3;
  histogram mpg_city;
  colaxis values=(0 to 100 by 10);
  run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p0vyc21mth0jrtn1c4jimudemip4.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p0vyc21mth0jrtn1c4jimudemip4.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 03:01:00 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2021-04-20T03:01:00Z</dc:date>
    <item>
      <title>how to label bins on x axis in histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735390#M21375</link>
      <description>&lt;P&gt;I am trying to plot histograms with proc sgpanel, but the default x-axis labeling is 0, 50, 100, 150.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to show 0, 10, 20, 30, 40, ... or 0, 20, 40, 60, 80,...&lt;/P&gt;
&lt;P&gt;I tried with&amp;nbsp;&lt;CODE class=" language-sas"&gt;rdi=(0 to 200 by 10)&lt;/CODE&gt; but it does not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions? Below is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=exsum0 (where = (armcdn in (1, 2, 3)));
  panelby armcdn / rows=3 layout=rowlattice;
  histogram rdi /BINSTART=0 BINWIDTH = 10 rdi=(0 to 200 by 10);
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Apr 2021 00:29:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735390#M21375</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2021-04-20T00:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to label bins on x axis in histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735409#M21376</link>
      <description>&lt;P&gt;I don't think there is an RDI option.&amp;nbsp; Did you get syntax errors in the log?&lt;/P&gt;
&lt;P&gt;Use statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; COLAXIS values=(0 to 200 by 10);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=sashelp.cars;
  panelby origin / layout=rowlattice rows=3;
  histogram mpg_city;
  colaxis values=(0 to 100 by 10);
  run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p0vyc21mth0jrtn1c4jimudemip4.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p0vyc21mth0jrtn1c4jimudemip4.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 03:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735409#M21376</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2021-04-20T03:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to label bins on x axis in histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735413#M21377</link>
      <description>&lt;P&gt;Thank you very much. This works. RDI is not an option, but my variable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 04:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-label-bins-on-x-axis-in-histogram/m-p/735413#M21377</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2021-04-20T04:07:25Z</dc:date>
    </item>
  </channel>
</rss>

