<?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: Error in Xaxis of Gplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46185#M1559</link>
    <description>Your xaxis (ie, haxis, which is axis2)  is using automatic tickmarks.&lt;BR /&gt;
&lt;BR /&gt;
Try specifying an order= in your axis2 statement, such that the tickmarks will be at the exact spots you want them!&lt;BR /&gt;
&lt;BR /&gt;
Also, I believe plot3d is an "undocumented" feature(?) which only works in dev=acvivex (or java?) ... Perhaps try the same plot without the 3d, using dev=png, and see how it comes out.  (3d is seldom a good choice, for plotting 2d data!)</description>
    <pubDate>Fri, 09 Jul 2010 12:17:37 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2010-07-09T12:17:37Z</dc:date>
    <item>
      <title>Error in Xaxis of Gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46184#M1558</link>
      <description>Guys,&lt;BR /&gt;
I tried using the following code to create a plot;&lt;BR /&gt;
&lt;BR /&gt;
SYMBOL1 INTERPOL=spline HEIGHT=8pt   VALUE=STAR CV=red LINE=1 WIDTH=1	;&lt;BR /&gt;
SYMBOL2 INTERPOL=spline HEIGHT=8pt   VALUE=dot CV=green LINE=1 WIDTH=1	;&lt;BR /&gt;
Axis1 ORDER=(0 .1 .2 .3 .4 .5)	MINOR=NONE WIDTH=2;&lt;BR /&gt;
AXIS2 WIDTH = 2 ;&lt;BR /&gt;
&lt;BR /&gt;
PROC GPLOT DATA = TEMP;&lt;BR /&gt;
PLOT3D 'percent_column'n * MONTH  ='group_column'n&lt;BR /&gt;
/&lt;BR /&gt;
GRID&lt;BR /&gt;
VAXIS=AXIS1&lt;BR /&gt;
HAXIS=AXIS2&lt;BR /&gt;
NAME="PLOT"&lt;BR /&gt;
noframe&lt;BR /&gt;
;&lt;BR /&gt;
RUN; QUIT;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The problem that i face is that in xaxis of the graph the Months keep on appearing twice.  But the markers appear only once.&lt;BR /&gt;
Please guide as to why is the month repeating in the graph.</description>
      <pubDate>Fri, 09 Jul 2010 11:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46184#M1558</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-07-09T11:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Xaxis of Gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46185#M1559</link>
      <description>Your xaxis (ie, haxis, which is axis2)  is using automatic tickmarks.&lt;BR /&gt;
&lt;BR /&gt;
Try specifying an order= in your axis2 statement, such that the tickmarks will be at the exact spots you want them!&lt;BR /&gt;
&lt;BR /&gt;
Also, I believe plot3d is an "undocumented" feature(?) which only works in dev=acvivex (or java?) ... Perhaps try the same plot without the 3d, using dev=png, and see how it comes out.  (3d is seldom a good choice, for plotting 2d data!)</description>
      <pubDate>Fri, 09 Jul 2010 12:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46185#M1559</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-07-09T12:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Xaxis of Gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46186#M1560</link>
      <description>Allison,&lt;BR /&gt;
Thanks for your reply, &lt;BR /&gt;
But will it be possible to resolve the issue without having to feed in the order= for the Haxis?</description>
      <pubDate>Fri, 09 Jul 2010 14:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46186#M1560</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-07-09T14:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Xaxis of Gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46187#M1561</link>
      <description>Can't really say, without seeing your data, and knowing what device= you're using (device=activex?), version of SAS, etc.&lt;BR /&gt;
&lt;BR /&gt;
I assume your 'month' is actually a sas-date value, using the month. format?&lt;BR /&gt;
&lt;BR /&gt;
It sounds like the activex gplot is picking tickmarks based on the numeric values of the dates, not really thinking in terms of what are good tickmarks for months.  The tickmarks that are picked *might* be better with dev=png, depending on the data, etc (give it a try).&lt;BR /&gt;
&lt;BR /&gt;
But to guarantee you get the axis exactly how you want it, I think you'll probably have to hard-code an order= on your axis statement, something like ...&lt;BR /&gt;
&lt;BR /&gt;
axis1 order=('01jan2000'd to '01jul2000'd by month);</description>
      <pubDate>Fri, 09 Jul 2010 15:01:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46187#M1561</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-07-09T15:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Xaxis of Gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46188#M1562</link>
      <description>Robert, &lt;BR /&gt;
you are right i am using the sas date value with month format. Now i understand why the tickmarks repeat. &lt;BR /&gt;
I was creating a PDF file hece my Device was PDFC.&lt;BR /&gt;
I have used the axis order= , it does give me the desired output.&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot,&lt;BR /&gt;
&lt;BR /&gt;
Still hope SAS comes up with some other way to tackle this&lt;BR /&gt;
&lt;BR /&gt;
Rgds.</description>
      <pubDate>Sat, 10 Jul 2010 07:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Error-in-Xaxis-of-Gplot/m-p/46188#M1562</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-07-10T07:07:42Z</dc:date>
    </item>
  </channel>
</rss>

