<?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: sgplot question(change axis label size/angle) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sgplot-question-change-axis-label-size-angle/m-p/376162#M90251</link>
    <description>&lt;P&gt;The second step shows a literal answer to your question. &amp;nbsp;The first shows what I think is a better answer. &amp;nbsp;Do you really want a discrete axis with years? &amp;nbsp;Why not a linear axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.electric(
     where=(customer="Residential"));
  xaxis integer;
  series x=year y=coal;
  series x=year y=naturalgas / y2axis;
run;

proc sgplot data=sashelp.electric(
     where=(customer="Residential"));
  xaxis type=discrete valueattrs=(size=6);
  series x=year y=coal;
  series x=year y=naturalgas / y2axis;
run;&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Jul 2017 21:38:20 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-07-14T21:38:20Z</dc:date>
    <item>
      <title>sgplot question(change axis label size/angle)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sgplot-question-change-axis-label-size-angle/m-p/376133#M90240</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a gplot like this:&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.electric(
     where=(customer="Residential"));
  xaxis type=discrete;
  series x=year y=coal;
  series x=year y=naturalgas / y2axis;
run;&lt;/PRE&gt;
&lt;P&gt;But there are too many value one the x-axis,(this exaple only 1994--2005, but in my data there is much more),&lt;/P&gt;
&lt;P&gt;my question is how to reduce the size of the labels?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sgplot-question-change-axis-label-size-angle/m-p/376133#M90240</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-07-14T18:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot question(change axis label size/angle)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sgplot-question-change-axis-label-size-angle/m-p/376162#M90251</link>
      <description>&lt;P&gt;The second step shows a literal answer to your question. &amp;nbsp;The first shows what I think is a better answer. &amp;nbsp;Do you really want a discrete axis with years? &amp;nbsp;Why not a linear axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.electric(
     where=(customer="Residential"));
  xaxis integer;
  series x=year y=coal;
  series x=year y=naturalgas / y2axis;
run;

proc sgplot data=sashelp.electric(
     where=(customer="Residential"));
  xaxis type=discrete valueattrs=(size=6);
  series x=year y=coal;
  series x=year y=naturalgas / y2axis;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Jul 2017 21:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sgplot-question-change-axis-label-size-angle/m-p/376162#M90251</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-07-14T21:38:20Z</dc:date>
    </item>
  </channel>
</rss>

