<?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 too many labels on my X axis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948294#M25089</link>
    <description>&lt;P&gt;Hello, I'm having trouble getting the dates along the bottom of my line graph to go away. They are too crowded, and I'd like them to show as a year, but I'm not sure what code I would add for that:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;/*&lt;BR /&gt; *&lt;BR /&gt; * Task code generated by SAS Studio 3.8 &lt;BR /&gt; *&lt;BR /&gt; * Generated on '10/20/24, 12:32 PM' &lt;BR /&gt; * Generated by 'u64056563' &lt;BR /&gt; * Generated on server 'ODAWS01-USW2.ODA.SAS.COM' &lt;BR /&gt; * Generated on SAS platform 'Linux LIN X64 5.14.0-284.30.1.el9_2.x86_64' &lt;BR /&gt; * Generated on SAS version '9.04.01M7P08062020' &lt;BR /&gt; * Generated on browser 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0' &lt;BR /&gt; * Generated on web client 'https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-05%253A00&amp;amp;ticket=ST-85165-NheEFQyTPDwjsJpxToFs-cas' &lt;BR /&gt; *&lt;BR /&gt; */&lt;BR /&gt;&lt;BR /&gt;ods graphics / reset width=12in height=3in imagemap;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=WORK.IMPORT2;&lt;BR /&gt;	title height=14pt "Federal Reserve GDP Quarterly";&lt;BR /&gt;	footnote2 justify=left height=12pt "Real Gross Domestic Product, Percent Change from Preceding Period, Quarterly, Seasonally Adjusted Annual Rate";&lt;BR /&gt;	vline VAR1 / response=VAR2;&lt;BR /&gt;	xaxis label="Observation Date" valuesrotate=vertical;&lt;BR /&gt;	yaxis grid label="GDP Percent Change";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods graphics / reset;&lt;BR /&gt;title;&lt;BR /&gt;footnote2;&lt;/PRE&gt;</description>
    <pubDate>Sun, 20 Oct 2024 17:38:00 GMT</pubDate>
    <dc:creator>cpmarkwald</dc:creator>
    <dc:date>2024-10-20T17:38:00Z</dc:date>
    <item>
      <title>too many labels on my X axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948294#M25089</link>
      <description>&lt;P&gt;Hello, I'm having trouble getting the dates along the bottom of my line graph to go away. They are too crowded, and I'd like them to show as a year, but I'm not sure what code I would add for that:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;/*&lt;BR /&gt; *&lt;BR /&gt; * Task code generated by SAS Studio 3.8 &lt;BR /&gt; *&lt;BR /&gt; * Generated on '10/20/24, 12:32 PM' &lt;BR /&gt; * Generated by 'u64056563' &lt;BR /&gt; * Generated on server 'ODAWS01-USW2.ODA.SAS.COM' &lt;BR /&gt; * Generated on SAS platform 'Linux LIN X64 5.14.0-284.30.1.el9_2.x86_64' &lt;BR /&gt; * Generated on SAS version '9.04.01M7P08062020' &lt;BR /&gt; * Generated on browser 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0' &lt;BR /&gt; * Generated on web client 'https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-05%253A00&amp;amp;ticket=ST-85165-NheEFQyTPDwjsJpxToFs-cas' &lt;BR /&gt; *&lt;BR /&gt; */&lt;BR /&gt;&lt;BR /&gt;ods graphics / reset width=12in height=3in imagemap;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=WORK.IMPORT2;&lt;BR /&gt;	title height=14pt "Federal Reserve GDP Quarterly";&lt;BR /&gt;	footnote2 justify=left height=12pt "Real Gross Domestic Product, Percent Change from Preceding Period, Quarterly, Seasonally Adjusted Annual Rate";&lt;BR /&gt;	vline VAR1 / response=VAR2;&lt;BR /&gt;	xaxis label="Observation Date" valuesrotate=vertical;&lt;BR /&gt;	yaxis grid label="GDP Percent Change";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods graphics / reset;&lt;BR /&gt;title;&lt;BR /&gt;footnote2;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Oct 2024 17:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948294#M25089</guid>
      <dc:creator>cpmarkwald</dc:creator>
      <dc:date>2024-10-20T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: too many labels on my X axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948295#M25090</link>
      <description>&lt;P&gt;Most of us will not download Microsoft OFfice documents as they can be security threat. Please make a screen capture of your plot and then include the screen capture in your reply by clicking on the "Insert Photos" icon. Do not attach files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what are typical values of variable VAR1?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 17:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948295#M25090</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-10-20T17:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: too many labels on my X axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948788#M25091</link>
      <description>&lt;P&gt;There are two possible ways to fix this:&lt;/P&gt;
&lt;P&gt;1) If there is no summarization going on with your data, use a SERIES plot instead of a VLINE chart&lt;/P&gt;
&lt;P&gt;2) If there is summarization involved, and the VAR is a DATETIME variable, just set TYPE=TIME on the XAXIS statement to override the default DISCRETE axis type used for VLINE charts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 16:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/too-many-labels-on-my-X-axis/m-p/948788#M25091</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-10-23T16:35:03Z</dc:date>
    </item>
  </channel>
</rss>

