<?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/xaxis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494747#M16907</link>
    <description>&lt;P&gt;I used sgplot to plot a series gaph but I want to adjust the x and y axis scale a bit. the scale of the yaxis begins a little bit higher as 0 while the x axis begins exactl y at 0. I want both to start from 0 . Is there any way to do that?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 09:04:23 GMT</pubDate>
    <dc:creator>Anita_n</dc:creator>
    <dc:date>2018-09-12T09:04:23Z</dc:date>
    <item>
      <title>sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494747#M16907</link>
      <description>&lt;P&gt;I used sgplot to plot a series gaph but I want to adjust the x and y axis scale a bit. the scale of the yaxis begins a little bit higher as 0 while the x axis begins exactl y at 0. I want both to start from 0 . Is there any way to do that?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 09:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494747#M16907</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2018-09-12T09:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494750#M16908</link>
      <description>&lt;P&gt;Yes, you would use an xaxis or yaxis with the specific options:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#xaxis-stmt.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#xaxis-stmt.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Probably min/max or values in your case.&amp;nbsp; AS I have no example I can't be specific, but something like&lt;/P&gt;
&lt;PRE&gt;xaxis values=(0 1 2 3 4);&lt;/PRE&gt;
&lt;P&gt;Will put ticks at 0 1 2 3 4&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 09:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494750#M16908</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-09-12T09:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494860#M16909</link>
      <description>&lt;P&gt;Some plot statements request an axes ranges of only the data range of the variables, such as Scatter or Series.&amp;nbsp; So, if the y-axis variable data is from 100-200, the y-axis range will show around 100-200.&amp;nbsp; You can change that by setting options on the axis.&amp;nbsp; Other plot statements always&amp;nbsp;include zero in the response axis range, such as the bar chart.&amp;nbsp; If there a mixture of plot types, the union of the data requested by the plots is used.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:55:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494860#M16909</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-09-12T13:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494871#M16910</link>
      <description>&lt;P&gt;If you do not need to control each tick value, you can just set the MIN or MAX values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yaxis min=0;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/494871#M16910</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-09-12T14:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/495023#M16911</link>
      <description>&lt;P&gt;Thanks to you all. I tried using min=0 but it didn't work. I wanted the scale this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="this is what I want" style="width: 84px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23225iD9293FB719629E79/image-size/small?v=v2&amp;amp;px=200" role="button" title="data1.jpg" alt="this is what I want" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;this is what I want&lt;/span&gt;&lt;/span&gt;&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="presently the scale looks like this: which I don't like" style="width: 45px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23226i8B6CDBEA9ADE90A2/image-size/small?v=v2&amp;amp;px=200" role="button" title="data2.jpg" alt="presently the scale looks like this: which I don't like" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;presently the scale looks like this: which I don't like&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:30:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/495023#M16911</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2018-09-12T20:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/495024#M16912</link>
      <description>&lt;P&gt;From the graph snippet you posted, it appears that you have a line going below 0, which would account for the 0 tick location. Can you confirm this?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/495024#M16912</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-09-12T20:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/496128#M16953</link>
      <description>&lt;P&gt;Yes DanH_sas, this is true but I don't want it this way how can I correct that so that I get something like in graph one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have another question concerning the line&amp;nbsp; and grid thickness. It seems the graph (which is the second pic) is very thin.&lt;/P&gt;&lt;P&gt;Is there any way to make these thicker, so that it looks like the first graph.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also is there any way to compress the height of the graph to look like the first graph?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can one add special fonts which are not available in sas graph to graph options if this is installed on my pc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be grateful for any help&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 06:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/496128#M16953</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2018-09-17T06:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot yaxis/xaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/557747#M18120</link>
      <description>&lt;P&gt;Ahh - I think you're wanting to get rid of the 'offset' (the space along the axis before zero).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xaxis offsetmin=0;&lt;/P&gt;
&lt;P&gt;yaxis offsetmin=0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 12:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-yaxis-xaxis/m-p/557747#M18120</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2019-05-10T12:32:53Z</dc:date>
    </item>
  </channel>
</rss>

