<?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 Vertical not horizontal in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18598#M395</link>
    <description>Hello all&lt;BR /&gt;
&lt;BR /&gt;
Can anyone explain how to change vertical not horizontal?&lt;BR /&gt;
&lt;BR /&gt;
Fri, Oct, 6&lt;BR /&gt;
to                     &lt;BR /&gt;
                         F&lt;BR /&gt;
                         r&lt;BR /&gt;
                         i&lt;BR /&gt;
                         ,&lt;BR /&gt;
                         O&lt;BR /&gt;
                         c&lt;BR /&gt;
                         t&lt;BR /&gt;
                         ,&lt;BR /&gt;
                         6&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I'm losing all the dates on the graph, my data range was October 1, 16 but on the graph it only shows the first and last day of month.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data = Total_callshandled_by_day template=BarTableHorz;&lt;BR /&gt;
title 'Calls Handled throught Time';&lt;BR /&gt;
   plot   calls_handled*date;&lt;BR /&gt;
symbol v = triangle I = j ci=blue&lt;BR /&gt;
w = 1 ;&lt;BR /&gt;
label Date = ‘Date’;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
Fred&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: fredbell

Message was edited by: fredbell</description>
    <pubDate>Mon, 18 Oct 2010 18:44:40 GMT</pubDate>
    <dc:creator>fredbell</dc:creator>
    <dc:date>2010-10-18T18:44:40Z</dc:date>
    <item>
      <title>Vertical not horizontal</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18598#M395</link>
      <description>Hello all&lt;BR /&gt;
&lt;BR /&gt;
Can anyone explain how to change vertical not horizontal?&lt;BR /&gt;
&lt;BR /&gt;
Fri, Oct, 6&lt;BR /&gt;
to                     &lt;BR /&gt;
                         F&lt;BR /&gt;
                         r&lt;BR /&gt;
                         i&lt;BR /&gt;
                         ,&lt;BR /&gt;
                         O&lt;BR /&gt;
                         c&lt;BR /&gt;
                         t&lt;BR /&gt;
                         ,&lt;BR /&gt;
                         6&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I'm losing all the dates on the graph, my data range was October 1, 16 but on the graph it only shows the first and last day of month.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data = Total_callshandled_by_day template=BarTableHorz;&lt;BR /&gt;
title 'Calls Handled throught Time';&lt;BR /&gt;
   plot   calls_handled*date;&lt;BR /&gt;
symbol v = triangle I = j ci=blue&lt;BR /&gt;
w = 1 ;&lt;BR /&gt;
label Date = ‘Date’;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
Fred&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: fredbell

Message was edited by: fredbell</description>
      <pubDate>Mon, 18 Oct 2010 18:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18598#M395</guid>
      <dc:creator>fredbell</dc:creator>
      <dc:date>2010-10-18T18:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical not horizontal</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18599#M396</link>
      <description>Hi:&lt;BR /&gt;
  The AXIS statements allow the use of the ANGLE and ROTATE suboptions to alter how AXIS text and AXIS value text can be made to fit. That documentation is here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#axischap.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#axischap.htm&lt;/A&gt;&lt;BR /&gt;
                     &lt;BR /&gt;
  Also, for numeric variables, SAS/GRAPH will calculate the intervals that it needs to show unless you provide other instructions (again, with an AXIS statement) or with other options (such as in your plot or action statement).&lt;BR /&gt;
&lt;BR /&gt;
  Are you also intending or attempting to REPLAY your GPLOT output??? Your use of TEMPLATE= is unusual and normally a specific template would be seen when using PROC GREPLAY -- which I do not see in your code. So I wonder whether your code has any messages in the log that are also causing issues.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 18 Oct 2010 22:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18599#M396</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-10-18T22:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical not horizontal</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18600#M397</link>
      <description>Here's a specific example that might help...&lt;BR /&gt;
&lt;BR /&gt;
-----&lt;BR /&gt;
&lt;BR /&gt;
axis1 value=(height=8pt angle=90);&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data = Total_callshandled_by_day template=BarTableHorz;&lt;BR /&gt;
title 'Calls Handled throught Time';&lt;BR /&gt;
plot calls_handled*date / haxis=axis1;&lt;BR /&gt;
symbol v = triangle I = j ci=blue&lt;BR /&gt;
w = 1 ;&lt;BR /&gt;
label Date = ‘Date’;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
-----&lt;BR /&gt;
&lt;BR /&gt;
SAS/Graph tries to make the text values on the axes "fit", but you can control the angle of the text (or rotate of the characters) manually ... and if you make it fit, then gplot won't have to.  And you can generally make better judgement calls as to what "looks better".  Sometimes you also have to make the text smaller to get it to fit.&lt;BR /&gt;
&lt;BR /&gt;
One caveat - sometimes, graph will do both what you tell it, and also apply it's fitting algorithm (if it 'thinks' the text values won't fit) and you'll end up with upside-down stacked letters.  That is fixed in v9.3 (internal tracking number S0176883), but in v9.2 you might have to make the text smaller, so that gplot knows it will fit comfortably, and not have it's automatic fitting-algorithm kick in.&lt;BR /&gt;
&lt;BR /&gt;
Another caveat - some of the axis text rotate/angle stuff might only have "partial support" in dev=activex and dev=java (which are the defaults if you're using EG or Stored Processes).  I would recommend device=png.&lt;BR /&gt;
&lt;BR /&gt;
-----&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Robert Allison @ SAS

Message was edited by: Robert Allison @ SAS</description>
      <pubDate>Tue, 19 Oct 2010 12:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18600#M397</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-10-19T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical not horizontal</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18601#M398</link>
      <description>Thanks so much Robert.&lt;BR /&gt;
&lt;BR /&gt;
Fred

Message was edited by: fredbell</description>
      <pubDate>Tue, 19 Oct 2010 12:41:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18601#M398</guid>
      <dc:creator>fredbell</dc:creator>
      <dc:date>2010-10-19T12:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical not horizontal</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18602#M399</link>
      <description>Probably not needed as a response to the original post at this time but the FORMAT associated with the axis variable also would be a place to look to increase readability especially with dates. The example looks like a MMDDYY10. or MMDDYY8. would have fit and been readable. Depending on the number of values they may have then even appeared horizontally.</description>
      <pubDate>Fri, 05 Nov 2010 22:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Vertical-not-horizontal/m-p/18602#M399</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2010-11-05T22:48:59Z</dc:date>
    </item>
  </channel>
</rss>

