<?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 SGPLOT yaxis format values in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552520#M18016</link>
    <description>&lt;P&gt;I would like my yaxis values to have two decimal places, this code does not work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=week noborder;&lt;BR /&gt;format HazardRatio 4.2;&lt;BR /&gt;scatter x=week y=HazardRatio / yerrorlower=WaldLower&lt;BR /&gt;datalabelattrs=(size=12pt color=black)&lt;BR /&gt;yerrorupper=WaldUpper errorbarattrs=(color=black)&lt;BR /&gt;markerattrs=hr&lt;BR /&gt;(symbol=CircleFilled size=6 color=black);&lt;BR /&gt;refline 1 / axis=y lineattrs=(pattern=shortdash) transparency=.5;&lt;BR /&gt;yaxis label="Hazard Ratio " min=.96 max=1.06 type=log logbase=10&lt;BR /&gt;valueattrs=(size=14pt color=black family="Times New Roman") labelattrs=(size=14pt color=black family="Times New Roman");&lt;BR /&gt;xaxis label="Week of Gestation" min=1 max=37&lt;BR /&gt;valueattrs=(size=14pt color=black family="Times New Roman") labelattrs=(size=14pt color=black family="Times New Roman") minor;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28819iD016E6141B411093/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 18:37:13 GMT</pubDate>
    <dc:creator>psh23</dc:creator>
    <dc:date>2019-04-19T18:37:13Z</dc:date>
    <item>
      <title>SGPLOT yaxis format values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552520#M18016</link>
      <description>&lt;P&gt;I would like my yaxis values to have two decimal places, this code does not work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=week noborder;&lt;BR /&gt;format HazardRatio 4.2;&lt;BR /&gt;scatter x=week y=HazardRatio / yerrorlower=WaldLower&lt;BR /&gt;datalabelattrs=(size=12pt color=black)&lt;BR /&gt;yerrorupper=WaldUpper errorbarattrs=(color=black)&lt;BR /&gt;markerattrs=hr&lt;BR /&gt;(symbol=CircleFilled size=6 color=black);&lt;BR /&gt;refline 1 / axis=y lineattrs=(pattern=shortdash) transparency=.5;&lt;BR /&gt;yaxis label="Hazard Ratio " min=.96 max=1.06 type=log logbase=10&lt;BR /&gt;valueattrs=(size=14pt color=black family="Times New Roman") labelattrs=(size=14pt color=black family="Times New Roman");&lt;BR /&gt;xaxis label="Week of Gestation" min=1 max=37&lt;BR /&gt;valueattrs=(size=14pt color=black family="Times New Roman") labelattrs=(size=14pt color=black family="Times New Roman") minor;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28819iD016E6141B411093/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 18:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552520#M18016</guid>
      <dc:creator>psh23</dc:creator>
      <dc:date>2019-04-19T18:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT yaxis format values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552539#M18017</link>
      <description>&lt;P&gt;Try&amp;nbsp;the option VALUESFORMAT=4.2 on the YAXIS statement.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 19:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552539#M18017</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-19T19:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT yaxis format values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552553#M18018</link>
      <description>&lt;P&gt;Thanks! valuesformat=4.2 does not work but valuesformat=data does.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgplot data=week noborder;&lt;BR /&gt;/*format HazardRatio 4.2;*/&lt;BR /&gt;scatter x=week y=HazardRatio / yerrorlower=WaldLower&lt;BR /&gt;datalabelattrs=(size=12pt color=black)&lt;BR /&gt;yerrorupper=WaldUpper errorbarattrs=(color=black)&lt;BR /&gt;markerattrs=(symbol=CircleFilled size=6 color=black);&lt;BR /&gt;refline 1 / axis=y lineattrs=(pattern=shortdash) transparency=.5;&lt;BR /&gt;yaxis valuesformat=data label="Hazard Ratio " min=.96 max=1.06 type=log logbase=10&lt;BR /&gt;valueattrs=(size=14pt color=black family="Times New Roman") labelattrs=(size=14pt color=black family="Times New Roman") ;&lt;BR /&gt;xaxis label="Week of Gestation" min=1 max=37&lt;BR /&gt;valueattrs=(size=14pt color=black family="Times New Roman") labelattrs=(size=14pt color=black family="Times New Roman") minor;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 22:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-yaxis-format-values/m-p/552553#M18018</guid>
      <dc:creator>psh23</dc:creator>
      <dc:date>2019-04-19T22:53:59Z</dc:date>
    </item>
  </channel>
</rss>

