<?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 Help  with SAS code in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116247#M4403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to sas and having a hard time finding the monthly variance in the daily data set(for column return) I have attached here ( i have deleted some part of the data to make the file smaller).&lt;/P&gt;&lt;P&gt;I want to plot monthly variance of this daily data from 2000 to 2010 so that I can see if there's a pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column headings are: date : open, high, low, close, volume, adjclose, return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be kind enough to help me with this coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Im using SAS 9.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Malaka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Sep 2012 18:19:33 GMT</pubDate>
    <dc:creator>malakaext</dc:creator>
    <dc:date>2012-09-08T18:19:33Z</dc:date>
    <item>
      <title>Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116247#M4403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to sas and having a hard time finding the monthly variance in the daily data set(for column return) I have attached here ( i have deleted some part of the data to make the file smaller).&lt;/P&gt;&lt;P&gt;I want to plot monthly variance of this daily data from 2000 to 2010 so that I can see if there's a pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column headings are: date : open, high, low, close, volume, adjclose, return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be kind enough to help me with this coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Im using SAS 9.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Malaka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 18:19:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116247#M4403</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-08T18:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116248#M4404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... try this (it plots all the variables) ... one example plot is attached ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* your data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data test;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;infile 'z:\ftsehelp.txt' dsd dlm='09'x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;input date :mmddyy. OPEN HIGH LOW CLOSE VOLUME ADJCLOSE RETURN;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date mmddyy10.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* calculate monthly variance for all variables;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc summary data=test nway;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;class date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;var open high low close volume adjclose return;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;output out=month_var (drop=_:) var= ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date monyy.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* rearrange data for by-group processing in GPLOT;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc transpose data=month_var out=tmonth_var (rename=(col1=var));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date monyy.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc sort data=tmonth_var;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by _name_ date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;options nobyline;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* set graphics options;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;goptions reset=all ftext='calibri' htext=2 gunit=pct;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* choose a symbol ... use a spline to fit to the monthly data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;symbol f='wingdings' v='6c'x i=smp75 c=blue h=2 w=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis1 minor=(n=11) label=("MONTH-YEAR") offset=(2,2)pct;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis2 label=none offset=(0,0)pct ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title1 h=4 'PLOT OF #byval(_name_) BY MONTH AND YEAR' ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* add white s[ace around plot;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title2 a=90 ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title3 a=-90 ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;footnote1 ls=1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* plot all the variables;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc gplot data=tmonth_var;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;plot var*date / haxis=axis1 vaxis=axis2 noframe;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by _name_ ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11885i5CFF3319B5C0177C/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="open.png" title="open.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 20:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116248#M4404</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-08T20:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116249#M4405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow... that's amazing...&lt;/P&gt;&lt;P&gt;Thank you very much!!!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 20:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116249#M4405</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-08T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116250#M4406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ... thanks, but it's only amazing if you haven't done it before (I've used SAS/Graph a lot).&amp;nbsp; I guess I gave you a correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 20:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116250#M4406</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-08T20:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116251#M4407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know&amp;nbsp; what code i can use to fit a line graph (joining every point) instead of a spline?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 20:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116251#M4407</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-08T20:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116252#M4408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lol you could be right...I am really new to SAS and it's really interesting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, due to lack of experience it's really hard for a guy like me to write a code like this so fast.&lt;/P&gt;&lt;P&gt;Anyway, I greatly appreciate your help in such a short time.. I have already marked your answer as the correct one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know&amp;nbsp; what code i can use to fit a line graph (joining every point) instead of a spline?&lt;/P&gt;&lt;P&gt;and can u pls explain the following part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=tmonth_var;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by _name_ date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where does _name_date come from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 20:52:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116252#M4408</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-08T20:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116253#M4409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figure out how to do the line graph...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 21:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116253#M4409</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-08T21:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116254#M4410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... _NAME_ is produced by PROC TRANSPOSE ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000063675.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000063675.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000063675.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 03:33:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116254#M4410</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-09T03:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116255#M4411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please tell me how to graph the variance for each year. I tried splitting the date into three components mm, dd, yyyy and then using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=ftse3;&lt;/P&gt;&lt;P&gt;by yyyy;&lt;/P&gt;&lt;P&gt;plot RETURN*yyyy;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 22:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116255#M4411</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-10T22:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116256#M4412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... not sure if this is what you want ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* your data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data test;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;infile 'J:\sas_questions\data\ftsehelp.txt' dsd dlm='09'x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;input date :mmddyy. OPEN HIGH LOW CLOSE VOLUME ADJCLOSE RETURN;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date mmddyy10.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* calculate monthly variance for all variables;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc summary data=test nway;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;class date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;var open high low close volume adjclose return;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;output out=month_var (drop=_:) var= ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date monyy.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* NEW ............... add a YEAR variable for later by-group processing;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data month_var;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;set month_var;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;year = year(date);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* rearrange data for by-group processing in GPLOT;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc transpose data=month_var out=tmonth_var (rename=(col1=var));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by year date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date monyy.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc sort data=tmonth_var;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by year _name_ date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;options nobyline;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* set graphics options;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;goptions reset=all ftext='calibri' htext=2 gunit=pct;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* choose a symbol ... use a spline to fit to the monthly data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;symbol f='wingdings' v='6c'x i=smp75 c=blue h=2 w=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis1 minor=none label=("MONTH") offset=(2,2)pct;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis2 label=none offset=(0,0)pct ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;* add YEAR to title;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title1 h=4 'PLOT OF #byval(_name_) BY MONTH, #byval(year)&amp;nbsp;&amp;nbsp;&amp;nbsp; ' ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* add white s[ace around plot;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title2 a=90 ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title3 a=-90 ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;footnote1 ls=1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* plot all the variables ... use two by-variables;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc gplot data=tmonth_var;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;plot var*date / haxis=axis1 vaxis=axis2 noframe;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by year _name_ ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 23:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116256#M4412</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-10T23:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116257#M4413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I really apreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I need to plot daily variances for all 12 month in a given year. not just one summary value for each month.&lt;/P&gt;&lt;P&gt;Can u help me with that please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 00:04:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116257#M4413</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-11T00:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116258#M4414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ... I don't understand what "daily variance" means.&amp;nbsp; There's only one observation per day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean just plot all the daily points for a year on one chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 01:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116258#M4414</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-11T01:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116259#M4415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what I would like to plot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want x axis to denote the day of the year and y axis to denote the variance per each day. (plot of variance for each year -there are like 250 days with variances for each year)&lt;/P&gt;&lt;P&gt;So I want to draw a graph for each year. since there are 20 years the sas code should generate 20 such graphs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it in excel but it takes a lot of time to separate variances for each year and draw graphs &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 02:39:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116259#M4415</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-11T02:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116260#M4416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... I'm still not sure what you mean by "VARIANCES" ... anyways, I took the data you posted in TEST.CSV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has a date plus these variables ... OPEN HIGH LOW CLOSE VOLUME ADJ RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following produces one plot per year using the variable OPEN (the x-axis is day of the year while the y-axis is OPEN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are two ways to use the SAS code given that you are looking at data one year at a time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the y-axis, use AXIS2 if you want the y-axis range to vary by year based on the data or use AXIS3 if you want the same axis range used for each year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would change it in this statement (here, AXIS3 is used) ... &lt;STRONG style="font-family: 'courier new', courier;"&gt;plot open*date / haxis=axis1 vaxis=axis3 noframe;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the two attached plots show 2011 data with a y-axis that varies by data values versus one that used a constant (same) range across all the years&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this what you want (I'm still not sure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* your posted data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data x (drop=m d y);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;infile 'z:\test.csv' dsd firstobs=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;input m d y OPEN HIGH LOW CLOSE VOLUME ADJ RETURN;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;if m;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* create a real date from month, day, and year;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;date = mdy(m,d,y);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;year = year(date);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date date9.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* arrange in order by date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc sort data=x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by date;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* find min/max values for y-axis ... used if same&amp;nbsp; y-axis range wanted for each year;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc sql noprint;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;select round(min(open)-500,500.) , round(max(open)+500, 500.) into :min, :max from x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;options nobyline;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* set graphics options;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;goptions reset=all ftext='calibri' htext=2 gunit=pct;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* choose a symbol ... use a spline to fit to the monthly data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;symbol f='wingdings' v='6c'x i=smp66 c=blue h=2 w=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis1 minor=none label=("MONTH-YEAR") offset=(2,2)pct;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis2 label=none;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis3 label=none order=&amp;amp;min to &amp;amp;max by 500;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title1 h=4 'DAILY VARIABILITY OF OPEN ... #byval(year)&amp;nbsp; ' ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* add white space around plot;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title2 a=90 ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;title3 a=-90 ls=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;footnote1 ls=1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* plot the values;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc gplot data=x;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;plot open*date / haxis=axis1 vaxis=axis3 noframe;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;by year;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;format date monyy. open comma.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11676i8A2EB592493E3806/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="yaxis_constant.png" title="yaxis_constant.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11677i7C4918DAC7A9111D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="yaxis_varies.png" title="yaxis_varies.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 20:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116260#M4416</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-11T20:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116261#M4417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I could write the code that generates the plots I want.&lt;/P&gt;&lt;P&gt;If you run it u'll be able to understand what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOWEVER, I'd like to print the 20 graphs on the same page.&lt;/P&gt;&lt;P&gt;Could you please give me a code that would generate all 20 graphs on the same page?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile "F:\ftse.csv"&amp;nbsp; DSD MISSOVER;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input date :MMDDYY9. open high low close volume adjclose RETURN month box logprice actdiff;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; format date mmddyy10.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test1;&lt;/P&gt;&lt;P&gt;set test;&lt;/P&gt;&lt;P&gt;mm = month (date);&lt;/P&gt;&lt;P&gt;year = year (date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep mm year return date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options validvarname=upcase;&lt;/P&gt;&lt;P&gt;goptions ftext='Arial' htext=2 gunit=pct;&lt;/P&gt;&lt;P&gt;symbol1 v=dot i=join;&lt;/P&gt;&lt;P&gt;axis1 label=(angle=90 "Variance");&lt;/P&gt;&lt;P&gt;title h=4 "Yearly Variance";&lt;/P&gt;&lt;P&gt;footnote j=right "Source: FTSE Data-UK";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data = test1 ;&lt;/P&gt;&lt;P&gt;by year ;&lt;/P&gt;&lt;P&gt;plot return*date/ overlay;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 19:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116261#M4417</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-12T19:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help  with SAS code</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116262#M4418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I could write the code that generates the plots I want.&lt;/P&gt;&lt;P&gt;If you run it u'll be able to understand what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOWEVER, I'd like to print the 20 graphs on the same page.&lt;/P&gt;&lt;P&gt;Could you please give me a code that would generate all 20 graphs on the same page?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile "F:\ftse.csv"&amp;nbsp; DSD MISSOVER;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input date :MMDDYY9. open high low close volume adjclose RETURN month box logprice actdiff;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; format date mmddyy10.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test1;&lt;/P&gt;&lt;P&gt;set test;&lt;/P&gt;&lt;P&gt;mm = month (date);&lt;/P&gt;&lt;P&gt;year = year (date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep mm year return date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options validvarname=upcase;&lt;/P&gt;&lt;P&gt;goptions ftext='Arial' htext=2 gunit=pct;&lt;/P&gt;&lt;P&gt;symbol1 v=dot i=join;&lt;/P&gt;&lt;P&gt;axis1 label=(angle=90 "Variance");&lt;/P&gt;&lt;P&gt;title h=4 "Yearly Variance";&lt;/P&gt;&lt;P&gt;footnote j=right "Source: FTSE Data-UK";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data = test1 ;&lt;/P&gt;&lt;P&gt;by year ;&lt;/P&gt;&lt;P&gt;plot return*date/ overlay;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 19:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-SAS-code/m-p/116262#M4418</guid>
      <dc:creator>malakaext</dc:creator>
      <dc:date>2012-09-12T19:53:32Z</dc:date>
    </item>
  </channel>
</rss>

