<?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 Specify y axis max in SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128174#M4991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm using an macro in SGPLOT to create graphs (code attached) and I want to specify the minimum and maximum values of the y axis.&lt;/P&gt;&lt;P&gt;Data for the graphs comes from the data set macrovar, which includes the variables Ymin, Ymax, and Yint.&lt;/P&gt;&lt;P&gt;When the graphs are created, they have the interval that I have specified with Yint, but the maximum value for the Yaxis is not what I have specified with the Ymax variable.&lt;/P&gt;&lt;P&gt;In the attached example graph, the maximum is just a little bit above 85.&amp;nbsp; However, I have specified that the max for the Y axis needs to be 93.5.&amp;nbsp; Why is it not using the values I have specified for Ymax?&amp;nbsp; Any help figuring this out would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="code.JPG" class="jive-image-thumbnail jive-image" height="420" src="https://communities.sas.com/legacyfs/online/3149_code.JPG" width="762" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="graph example.JPG" class="jive-image-thumbnail jive-image" height="402" src="https://communities.sas.com/legacyfs/online/3150_graph example.JPG" width="654" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 03:28:56 GMT</pubDate>
    <dc:creator>fastb</dc:creator>
    <dc:date>2013-03-06T03:28:56Z</dc:date>
    <item>
      <title>Specify y axis max in SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128174#M4991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm using an macro in SGPLOT to create graphs (code attached) and I want to specify the minimum and maximum values of the y axis.&lt;/P&gt;&lt;P&gt;Data for the graphs comes from the data set macrovar, which includes the variables Ymin, Ymax, and Yint.&lt;/P&gt;&lt;P&gt;When the graphs are created, they have the interval that I have specified with Yint, but the maximum value for the Yaxis is not what I have specified with the Ymax variable.&lt;/P&gt;&lt;P&gt;In the attached example graph, the maximum is just a little bit above 85.&amp;nbsp; However, I have specified that the max for the Y axis needs to be 93.5.&amp;nbsp; Why is it not using the values I have specified for Ymax?&amp;nbsp; Any help figuring this out would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="code.JPG" class="jive-image-thumbnail jive-image" height="420" src="https://communities.sas.com/legacyfs/online/3149_code.JPG" width="762" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="graph example.JPG" class="jive-image-thumbnail jive-image" height="402" src="https://communities.sas.com/legacyfs/online/3150_graph example.JPG" width="654" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 03:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128174#M4991</guid>
      <dc:creator>fastb</dc:creator>
      <dc:date>2013-03-06T03:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Specify y axis max in SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128175#M4992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fastb,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hypothesis to verify!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Was there an interaction between your title defined with a title area&amp;nbsp; with move(14,-10) ?&lt;/P&gt;&lt;P&gt;2)what happens if you change into&amp;nbsp; ods graphics /height=20 cm;&lt;/P&gt;&lt;P&gt;3) an effect of offsets ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 15:17:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128175#M4992</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2013-03-06T15:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Specify y axis max in SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128176#M4993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you are using the right (VALUES) option.&amp;nbsp; You could additionally try the MIN and MAX options on the Y axis.&amp;nbsp; Hard to say without the data and with the macro variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 16:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128176#M4993</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-03-07T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Specify y axis max in SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128177#M4994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add the VALUESHINT option, I believe you will get what you want. By default, the axis will be constrained by the min/max values in the VALUES option. However, if you also specify VALUESHINT, the axis will not be constrained, and the tick values from the VALUES option that fall within the axis range will be drawn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 16:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Specify-y-axis-max-in-SGPLOT/m-p/128177#M4994</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2013-03-07T16:11:18Z</dc:date>
    </item>
  </channel>
</rss>

