<?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: vaxis not coming out the same on gplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/vaxis-not-coming-out-the-same-on-gplot/m-p/35743#M1128</link>
    <description>If you don't specify an "order={min} to {max} by {something}" in your axis statements, then the plot and plot2 axes will each auto-scale based on the data that's being plotted against that axis.&lt;BR /&gt;
&lt;BR /&gt;
One alternative to plotting the 2 lines via plot and plot2 is to plot them both with the plot statement (using the 'overlay' option).  You will only get an axis on the left side, and you are guaranteed that axis is auto-scaled the same for both lines (ie, because it *is* the same axis &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Wed, 16 Jun 2010 12:04:46 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2010-06-16T12:04:46Z</dc:date>
    <item>
      <title>vaxis not coming out the same on gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/vaxis-not-coming-out-the-same-on-gplot/m-p/35742#M1127</link>
      <description>I have a regression and I'm trying to plot the predicted with the actual on the same plot.  I'm trying to get the verticle scale to be the same but for some reason one chart has the right axis different than the left&lt;BR /&gt;
&lt;BR /&gt;
SYMBOL1 INTERPOL=JOIN HEIGHT=10pt VALUE=CIRCLE LINE=1 WIDTH=2;&lt;BR /&gt;
&lt;BR /&gt;
Axis1 STYLE=1 WIDTH=1 Major = (NUMBER=5) MINOR=NONE;&lt;BR /&gt;
Axis2 STYLE=1 WIDTH=1 MINOR=NONE ;&lt;BR /&gt;
Axis3 STYLE=1 WIDTH=1 Major = (NUMBER=5) MINOR=NONE;&lt;BR /&gt;
&lt;BR /&gt;
TITLE1 "Scatter Plot";&lt;BR /&gt;
FOOTNOTE;&lt;BR /&gt;
&lt;BR /&gt;
PROC GPLOT DATA=PREDLINREGPREDICTIONS NOCACHE ;&lt;BR /&gt;
format offered COMMA12.;&lt;BR /&gt;
format predicted_offered COMMA12.;&lt;BR /&gt;
PLOT offered * month_year=1 /  VAXIS=AXIS1 HAXIS=AXIS2&lt;BR /&gt;
FRAME	VZERO LEGEND=LEGEND1;&lt;BR /&gt;
PLOT2 predicted_offered * month_year = 2 /&lt;BR /&gt;
 	VAXIS=AXIS3 LEGEND=LEGEND1 VZERO OVERLAY;&lt;BR /&gt;
	BY Grouping;&lt;BR /&gt;
&lt;BR /&gt;
what am I missing?</description>
      <pubDate>Tue, 15 Jun 2010 22:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/vaxis-not-coming-out-the-same-on-gplot/m-p/35742#M1127</guid>
      <dc:creator>wkossack</dc:creator>
      <dc:date>2010-06-15T22:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: vaxis not coming out the same on gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/vaxis-not-coming-out-the-same-on-gplot/m-p/35743#M1128</link>
      <description>If you don't specify an "order={min} to {max} by {something}" in your axis statements, then the plot and plot2 axes will each auto-scale based on the data that's being plotted against that axis.&lt;BR /&gt;
&lt;BR /&gt;
One alternative to plotting the 2 lines via plot and plot2 is to plot them both with the plot statement (using the 'overlay' option).  You will only get an axis on the left side, and you are guaranteed that axis is auto-scaled the same for both lines (ie, because it *is* the same axis &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 16 Jun 2010 12:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/vaxis-not-coming-out-the-same-on-gplot/m-p/35743#M1128</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-06-16T12:04:46Z</dc:date>
    </item>
  </channel>
</rss>

