<?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: Axis labels in proc sgplot in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Axis-labels-in-proc-sgplot/m-p/187744#M47623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your axis show all values from 0 to 25 or just 0, 5, 10, 15, 20 and 25? If the later it is because the algorithm for fitting in the space you have available and rounding has picked 25 as an upper bound. You may need to provide more controls on the axis such as values= 0 to 24 by 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2014 16:11:48 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-04-21T16:11:48Z</dc:date>
    <item>
      <title>Axis labels in proc sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Axis-labels-in-proc-sgplot/m-p/187743#M47622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create two kernel density curves comparing month counts between men and women. Basically I've created two month count variables (monthmale and monthfemale) such that the former only populates for male subjects and the latter for female subjects. I used the following code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=monthcount;&lt;/P&gt;&lt;P&gt;xaxis label="Months" min=0 max=24; &lt;/P&gt;&lt;P&gt;yaxis label="Relative Probability of Occurrence";&lt;/P&gt;&lt;P&gt;density monthmale /type=kernel ;&lt;/P&gt;&lt;P&gt;density monthfemale/type=kernel ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The curves generate with no problem. The issue is that the maximum number of months a person can have is 24, so I'd like the axis to go from 0-24. However, even with the option I used above for xaxis, the axis goes from 0 to 25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 15:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Axis-labels-in-proc-sgplot/m-p/187743#M47622</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2014-04-21T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Axis labels in proc sgplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Axis-labels-in-proc-sgplot/m-p/187744#M47623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your axis show all values from 0 to 25 or just 0, 5, 10, 15, 20 and 25? If the later it is because the algorithm for fitting in the space you have available and rounding has picked 25 as an upper bound. You may need to provide more controls on the axis such as values= 0 to 24 by 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 16:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Axis-labels-in-proc-sgplot/m-p/187744#M47623</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-04-21T16:11:48Z</dc:date>
    </item>
  </channel>
</rss>

