<?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 gplot - Adjusting axis to see outliers in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93934#M3506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;A_B_C wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;axis1 order=(0 to 56 by 7);&lt;BR /&gt; proc gplot data=xxxx;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; plot result*day=drugcode/haxis=axis1 vaxis=axis2;&lt;/P&gt;
&lt;P&gt;run;quit;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;From online help on the INTERPOL=BOX section of the SYMBOL statement:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="strong"&gt;Note:&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; If you use the HAXIS= or VAXIS= options in the PLOT statement or the ORDER= option in an AXIS definition to restrict the range of axis values, by default any observations that fall outside the axis range are excluded from the interpolation calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you obviously have data outside of the desired axis you are not going to get it to display. You may need to provide a foot note that data exists outside of the display range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 14:44:42 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-06-28T14:44:42Z</dc:date>
    <item>
      <title>Proc gplot - Adjusting axis to see outliers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93929#M3501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt; x-axis order = (0 to 56 by 7) and y axis order=(0 to 120 by 10). I am displaying box using proc gplot. My graph have two outliers 44,40. but they are not visible.&amp;nbsp; when I change y - axis order to ( 0 to 63 by 7) then I was able to see the outliers. But I have to keep the y aixs order to ( 0 to 56 by 7) , then how do I get outliers visible in my graph. any help would be greatly appreciable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 16:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93929#M3501</guid>
      <dc:creator>A_B_C</dc:creator>
      <dc:date>2012-06-27T16:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot - Adjusting axis to see outliers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93930#M3502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code example would be helpful including any AXIS or SYMBOL statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 17:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93930#M3502</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-06-27T17:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot - Adjusting axis to see outliers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93931#M3503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of my pet peeves with GPLOT is that it happily excludes data that is outside of the axis range, with only a mere note that data have been excluded from the plot. So:&lt;/P&gt;&lt;PRE&gt;data a;
&amp;nbsp; input x y;
&amp;nbsp; cards;
1 50
2 150
3 50
4 150
;
run;

symbol i=join;
axis1 order=(0 to 100 by 25);

proc gplot data=a;
&amp;nbsp; plot y*x/vaxis=axis1;
run;

&lt;/PRE&gt;&lt;P&gt;Returns a straight horizontal line, with only the log notes to indicate something went wrog: line.&lt;/P&gt;&lt;PRE&gt;158&amp;nbsp; proc gplot data=a;
159&amp;nbsp;&amp;nbsp;&amp;nbsp; plot y*x/vaxis=axis1;
160&amp;nbsp; run;

NOTE: 2 observation(s) outside the axis range for the y * x request.
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems odd to me that SAS will happily adjust title size, axis labels, etc, automatically, but won't adjust the axis range if you've defined one that is too small.&amp;nbsp; I don't know of a nice solution, other than to specify an axis range which includes all of your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 19:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93931#M3503</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-06-27T19:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot - Adjusting axis to see outliers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93932#M3504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Here is the code which am using..&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated..&lt;/P&gt;&lt;P&gt;goptions vsize=16cm hsize=24cm htext=1 device=gif;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;axis1 order=(0 to 56 by 7);&lt;/P&gt;&lt;P&gt;axis2 order=(0 to 120 y 10);&lt;/P&gt;&lt;P&gt;symbol1 value=star i=boxjt mode=include color=blue&amp;nbsp; l=1;&lt;/P&gt;&lt;P&gt;symbol2 value=circle i=boxjt mode=include color=black l=2;&lt;/P&gt;&lt;P&gt;symbol3 value=triangle i=boxjt mode=include color=red l=3;&lt;/P&gt;&lt;P&gt;proc gplot data=xxxx;&lt;/P&gt;&lt;P&gt;&amp;nbsp; plot result*day=drugcode/haxis=axis1 vaxis=axis2;&lt;/P&gt;&lt;P&gt;run;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 04:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93932#M3504</guid>
      <dc:creator>A_B_C</dc:creator>
      <dc:date>2012-06-28T04:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot - Adjusting axis to see outliers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93933#M3505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will need to adjust your axis statement to accomodate the outliers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this dynamically by reading in the dataset before you run the GPLOT step, and finding the min and max value seen in the data.&amp;nbsp; Then pick a by value that makes sense, and write the min, max and by values&amp;nbsp; to macro variables to be used in your axis statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:26:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93933#M3505</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-06-28T12:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot - Adjusting axis to see outliers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93934#M3506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;A_B_C wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;axis1 order=(0 to 56 by 7);&lt;BR /&gt; proc gplot data=xxxx;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; plot result*day=drugcode/haxis=axis1 vaxis=axis2;&lt;/P&gt;
&lt;P&gt;run;quit;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;From online help on the INTERPOL=BOX section of the SYMBOL statement:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="strong"&gt;Note:&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; If you use the HAXIS= or VAXIS= options in the PLOT statement or the ORDER= option in an AXIS definition to restrict the range of axis values, by default any observations that fall outside the axis range are excluded from the interpolation calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you obviously have data outside of the desired axis you are not going to get it to display. You may need to provide a foot note that data exists outside of the display range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 14:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-Adjusting-axis-to-see-outliers/m-p/93934#M3506</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-06-28T14:44:42Z</dc:date>
    </item>
  </channel>
</rss>

