<?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 SGPLOT Log Axis Label in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292283#M10311</link>
    <description>&lt;P&gt;Actually, the VALUESFORMAT option is available in SGPLOT for any 9.4 version of SGPLOT and SGPANEL. In 9.3, is was called TICKVALUEFORMAT (like in GTL).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 20:23:08 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2016-08-17T20:23:08Z</dc:date>
    <item>
      <title>PROC SGPLOT Log Axis Label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292236#M10307</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a plot where the y-axis is log axis. I am using SAS 9.4 M2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The plot which is getting produced has 1E1, 1E2, 1E3, etc as labels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be changed ? I would like to have labels like 0, 10, 100, 1000, 10000,etc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is the sample code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = lb;&lt;BR /&gt;series x = weeks y = lbstresn / group = subjid groupms=subjid markers;&lt;BR /&gt;yaxis label = "Genomes" type = log logstyle = logexpand logvtype = exponent display = all min = 1 max = 10;&lt;BR /&gt;xaxis values= (0 to 20 by 1 ) label = "Weeks" ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 17:29:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292236#M10307</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-17T17:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Log Axis Label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292253#M10308</link>
      <description>&lt;P&gt;Did you notice that you will get&amp;nbsp;&lt;SPAN&gt;integers if MAX=5, but you get scientific notation if MAX=6 or more?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know how to do what you want in SAS 9.4m2. &amp;nbsp;In SAS 9.4m3 you can &lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/67909/HTML/default/viewer.htm#n0n6uml63c6h8dn16phbd1arm9g9.htm#p1w9lby6swr7qkn1c3nw5657ctw5" target="_self"&gt;use the VALUESFORMAT= option&lt;/A&gt; to assign the format for the YAXIS. The default format is BEST6., which is why you are getting&amp;nbsp;integers if MAX&amp;lt;=5, but you get scientific notation if MAX&amp;gt;=6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 18:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292253#M10308</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-17T18:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Log Axis Label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292273#M10309</link>
      <description>&lt;P&gt;You are right. It doesn't work with higher values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution using proc template ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 19:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292273#M10309</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-17T19:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Log Axis Label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292280#M10310</link>
      <description>&lt;P&gt;Same answer: You can use the &lt;A href="http://support.sas.com/documentation/cdl/en/grstatgraph/67882/HTML/default/viewer.htm#n0fksz728ytyz2n1ws13vlnkudyn.htm" target="_self"&gt;TICKVALUEFORMAT= suboption&lt;/A&gt; on the YAXISOPTS= option, but that is a 9.4m3 feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some data you could work around the problem by rescaling your Y variable.&amp;nbsp; For example, if the Y axis&amp;nbsp;shows a&amp;nbsp;measurement in centimeters, you can divide the number by 1E5 and display the data as measured in meters.&amp;nbsp; I don't know what your Y variable represents, but if you can divide it by 1E5 or 1E6, then you can get the integer units you want.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 20:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292280#M10310</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-17T20:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Log Axis Label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292283#M10311</link>
      <description>&lt;P&gt;Actually, the VALUESFORMAT option is available in SGPLOT for any 9.4 version of SGPLOT and SGPANEL. In 9.3, is was called TICKVALUEFORMAT (like in GTL).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 20:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292283#M10311</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-17T20:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Log Axis Label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292306#M10312</link>
      <description>&lt;P&gt;My apologies, Rick is correct. For LOG axes, this option had no effect until 9.4m3. Previous to that, the option affected only LINEAR and TIME axes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Log-Axis-Label/m-p/292306#M10312</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-17T21:49:02Z</dc:date>
    </item>
  </channel>
</rss>

