<?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 on log scale in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693938#M20594</link>
    <description>Values=(1 2 3 4 5 20 20) keeps the display different. It starts only from 1 and the tick marks will be equidistant. Plz note I’m doing on a log scale but linear axis tick label.</description>
    <pubDate>Fri, 23 Oct 2020 21:48:45 GMT</pubDate>
    <dc:creator>Manj</dc:creator>
    <dc:date>2020-10-23T21:48:45Z</dc:date>
    <item>
      <title>axis on log scale</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693929#M20592</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have created the following plot . this has the axex on log-scale but displayed the linear numbers as tick values. I would like to keep the same display, but to display the axes values as 1,2,3,4,5,10,20 and remove anything in between displayed. how do I do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgplot data=&amp;amp;G_DDDATASETNAME dattrmap=myattr;&lt;BR /&gt;scatter y=max_alt x=bas_alt / group=trt01a attrid=trt01a;&lt;BR /&gt;refline &amp;amp;refx /axis=x;&lt;BR /&gt;refline &amp;amp;refy /axis=y;&lt;BR /&gt;keylegend /title="" noborder;&lt;BR /&gt;xaxis &amp;amp;xval label= 'Baseline ALT (/ULN)' type=log logbase=10 logstyle=linear max=20;&lt;BR /&gt;yaxis &amp;amp;yval label= 'Maximum On-treatment ALT (/ULN)' type=log logbase=10 logstyle=linear max=20;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The x axis in the plot below has displyed the axis tick values 0.3, 2,4 6,8,10,12,16,20. I would need to remove 0.3,6,8,12,16 and include 1,2,3,4,5,10,20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manj_1-1603487610119.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51019i4A1079374AA59C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manj_1-1603487610119.png" alt="Manj_1-1603487610119.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 21:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693929#M20592</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2020-10-23T21:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: axis on log scale</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693935#M20593</link>
      <description>&lt;P&gt;Try option VALUES=(1 2 3 4 5 10 20) in your xaxis and yaxis statements.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 21:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693935#M20593</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-10-23T21:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: axis on log scale</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693938#M20594</link>
      <description>Values=(1 2 3 4 5 20 20) keeps the display different. It starts only from 1 and the tick marks will be equidistant. Plz note I’m doing on a log scale but linear axis tick label.</description>
      <pubDate>Fri, 23 Oct 2020 21:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693938#M20594</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2020-10-23T21:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: axis on log scale</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693945#M20595</link>
      <description>&lt;P&gt;Ha! Add option VALUESHINT to the axis statements to get the full range of the data while keeping the ticks specified in the VALUES option. When you specify VALUESHINT, you can also specify MIN= and MAX= values to create extra white space around your data.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 01:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/693945#M20595</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-10-24T01:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: axis on log scale</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/694026#M20596</link>
      <description>&lt;P&gt;Thanks, It worked !&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 18:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/axis-on-log-scale/m-p/694026#M20596</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2020-10-24T18:37:20Z</dc:date>
    </item>
  </channel>
</rss>

