<?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: Rotate Axis Labels without FITPOLICY in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Rotate-Axis-Labels-without-FITPOLICY/m-p/656883#M196955</link>
    <description>&lt;P&gt;try padding the year with leading and trailing spaces so that each of them is a $16. and try it&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2020 03:00:13 GMT</pubDate>
    <dc:creator>smantha</dc:creator>
    <dc:date>2020-06-11T03:00:13Z</dc:date>
    <item>
      <title>Rotate Axis Labels without FITPOLICY</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rotate-Axis-Labels-without-FITPOLICY/m-p/656803#M196953</link>
      <description>&lt;P&gt;I am creating a plot using PROC SGPLOT and have very tight data labels on my x-axis. I tried using the FITPOLICY= option, but it's not doing anything (I assume this is because there is not actually any overlap). Is it possible to rotate the labels manually? I have researched this, but have not had any luck finding a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Football Injuries Rates, by Event Type*";
footnote "*Scrimmages and walk-throughs were excluded";
proc sgplot data=rate_year;
	format event_type event_short.;
	styleattrs datacontrastcolors=("&amp;amp;Dblue" "&amp;amp;DGray")
               datasymbols=(circlefilled)
               datalinepatterns=(solid);
	series x=year y=injrate_unwgt / group=event_type markers;
	xaxis grid fitpolicy=rotate;
	yaxis grid values=(0 to 50 by 5) label="Injury Rate per 1000 AE";
	keylegend / title='';
run;
title;
footnote;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="SGPlot38.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/42302iFC27C9709E655432/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot38.png" alt="SGPlot38.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 02:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rotate-Axis-Labels-without-FITPOLICY/m-p/656803#M196953</guid>
      <dc:creator>tburus</dc:creator>
      <dc:date>2020-06-11T02:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate Axis Labels without FITPOLICY</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rotate-Axis-Labels-without-FITPOLICY/m-p/656883#M196955</link>
      <description>&lt;P&gt;try padding the year with leading and trailing spaces so that each of them is a $16. and try it&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 03:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rotate-Axis-Labels-without-FITPOLICY/m-p/656883#M196955</guid>
      <dc:creator>smantha</dc:creator>
      <dc:date>2020-06-11T03:00:13Z</dc:date>
    </item>
  </channel>
</rss>

