<?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: how to create a line graph in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706457#M216821</link>
    <description>&lt;P&gt;One large hint if you have not worked with SAS and dates much: make sure that your "month" is actually a SAS date, meaning a numeric value with a SAS format applied that displays the date as desired.&lt;/P&gt;
&lt;P&gt;Other forms of "date-like values" will either not sort properly (generally) or often have tickmarks way out of relation to as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 21:24:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-12-16T21:24:25Z</dc:date>
    <item>
      <title>how to create a line graph</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706450#M216818</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to SAS.&amp;nbsp; I need an idea on where to get started on creating a line graph based on #of subjects (y-axis) &amp;amp; month (x-axis). Shoud I use proc sgplot? Sorry, no example data here. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_0-1608152798311.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52707i47C0FB08D0EFCCB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_0-1608152798311.png" alt="HitmonTran_0-1608152798311.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706450#M216818</guid>
      <dc:creator>HitmonTran</dc:creator>
      <dc:date>2020-12-16T21:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a line graph</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706453#M216819</link>
      <description>Find the plot you like and then look at the example code. SGPLOT is the right place to start.&lt;BR /&gt;&lt;A href="https://support.sas.com/sassamples/graphgallery/PROC_SGPLOT.html" target="_blank"&gt;https://support.sas.com/sassamples/graphgallery/PROC_SGPLOT.html&lt;/A&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706453#M216819</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-12-16T21:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a line graph</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706456#M216820</link>
      <description>&lt;P&gt;An example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=sortedClass; by sex height;
run;

proc sgplot data=sortedClass noautolegend;
where sex="M";
reg x=height y=weight / lineattrs=(pattern=shortdash);
series x=height y=weight;
yaxis grid;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PGStats_0-1608153835034.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52709iD4EA56D0CA4EDA17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PGStats_0-1608153835034.png" alt="PGStats_0-1608153835034.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706456#M216820</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-12-16T21:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a line graph</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706457#M216821</link>
      <description>&lt;P&gt;One large hint if you have not worked with SAS and dates much: make sure that your "month" is actually a SAS date, meaning a numeric value with a SAS format applied that displays the date as desired.&lt;/P&gt;
&lt;P&gt;Other forms of "date-like values" will either not sort properly (generally) or often have tickmarks way out of relation to as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-line-graph/m-p/706457#M216821</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-16T21:24:25Z</dc:date>
    </item>
  </channel>
</rss>

