<?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: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247552#M8978</link>
    <description>&lt;P&gt;Yes. That plot is easily created by using the BAND statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are translating from R to SAS, you&amp;nbsp; should realize that not every program has a one-to-one mapping. Every language has conventions&amp;nbsp;that make it unique. In particular, when you see the polygon() call in R, that does not necessarily mean that you should use the POLYGON statement in PROC SGPLOT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: As a former professor myself, I predict that your professor would be thrilled to explain more about the plot and what it shows!&amp;nbsp; Professors love it when students ask questions!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 18:07:28 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-02-02T18:07:28Z</dc:date>
    <item>
      <title>SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247505#M8970</link>
      <description>&lt;P&gt;Hello,everyone,&lt;/P&gt;
&lt;P&gt;I want to draw a polygon simulated confidence interval.&lt;/P&gt;
&lt;P&gt;My coordinates for (x1,y1) are over 2000,I know it's easy to do that in SAS 9.4 or R,however I only have SAS 9.3,I checked some references,it seems that in sas 9.3 annotation dataset &amp;nbsp;'POLYGON' (or 'POLYCONT')function only accept numbers input-once for a pair coordinates,is it possible to use variable here?&lt;/P&gt;
&lt;P&gt;Moreover would you please give me some hints about how to draw line segment in SAS?&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 16:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247505#M8970</guid>
      <dc:creator>xxz3231</dc:creator>
      <dc:date>2016-02-02T16:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247515#M8971</link>
      <description>&lt;P&gt;For line segments with SAS 9.3 SGPLOT, you can use either a Vector plot or a Series plot.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 16:18:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247515#M8971</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-02-02T16:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247520#M8972</link>
      <description>&lt;P&gt;What statistic are you forming the confidene interval for? Why do you think you want to use a polygon?&amp;nbsp; More details, please!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a continuous curve, &lt;A href="http://support.sas.com/documentation/cdl//en/grstatproc/65235/HTML/default/viewer.htm#n1t2ihc734azuvn17021ri2cl057.htm" target="_self"&gt;use the BAND statement &lt;/A&gt;to display a confidence interval.&lt;/P&gt;
&lt;P&gt;For a series of simulated Cis (such as for many simulated CIs for the mean), &lt;A href="http://support.sas.com/documentation/cdl//en/grstatproc/65235/HTML/default/viewer.htm#n0mjz9ktgnse58n14deqdvnnxarp.htm" target="_self"&gt;use the HIGHLOW statement &lt;/A&gt;to create a series of confidence intervals.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 16:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247520#M8972</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-02T16:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247530#M8973</link>
      <description>Thank you so much for your quick reply,Rick! I am sorry I can't explain "Why you need it",for my professor asked me to use SAS to rewrite some R codes which are from former research projects-we need SAS output(but must including everything from R code).This is an example &lt;A href="https://www.uvm.edu/~ngotelli/Rscripts/Confidence%20Interval%20Polygon.R" target="_blank"&gt;https://www.uvm.edu/~ngotelli/Rscripts/Confidence%20Interval%20Polygon.R&lt;/A&gt;&lt;BR /&gt;Can I do this in SAS?Thank you very much!</description>
      <pubDate>Tue, 02 Feb 2016 16:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247530#M8973</guid>
      <dc:creator>xxz3231</dc:creator>
      <dc:date>2016-02-02T16:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247531#M8974</link>
      <description>Vector plot works very well,thank you Sanjay!</description>
      <pubDate>Tue, 02 Feb 2016 16:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247531#M8974</guid>
      <dc:creator>xxz3231</dc:creator>
      <dc:date>2016-02-02T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247542#M8976</link>
      <description>&lt;P&gt;Consistency with R will be much easier with SAS 9.4. &amp;nbsp;For an academic institution, it should be easy to upgrade. &amp;nbsp;You could even use &lt;A href="http://www.sas.com/en_us/software/university-edition.html" target="_blank"&gt;SAS University Edition&lt;/A&gt;, which is free, and provides all the SAS 9.4 features, including SGPLOT and GTL.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 17:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247542#M8976</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-02-02T17:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247552#M8978</link>
      <description>&lt;P&gt;Yes. That plot is easily created by using the BAND statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are translating from R to SAS, you&amp;nbsp; should realize that not every program has a one-to-one mapping. Every language has conventions&amp;nbsp;that make it unique. In particular, when you see the polygon() call in R, that does not necessarily mean that you should use the POLYGON statement in PROC SGPLOT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: As a former professor myself, I predict that your professor would be thrilled to explain more about the plot and what it shows!&amp;nbsp; Professors love it when students ask questions!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 18:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247552#M8978</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-02T18:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247580#M8984</link>
      <description>&lt;P&gt;Here it is:&lt;/P&gt;
&lt;P&gt;&lt;IMG title="SGPlot4.png" alt="SGPlot4.png" src="https://communities.sas.com/t5/image/serverpage/image-id/1718i5327CF9926F7C2D4/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 19:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247580#M8984</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-02T19:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247693#M8992</link>
      <description>&lt;P&gt;&amp;nbsp;Here is the SAS program that generates the graph:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data CI;
call streaminit(12345);
do x = 1 to 100;
   Exp = 50 + x*0.1;
   ConHigh = Exp + 5 + rand("normal");
   ConLow = Exp - 5 + rand("normal");
   OneRun = Exp + rand("Normal",0,2);
   output;
end;
run;

title "SGPLOT Reconstruction of R Graphic";
proc sgplot data=CI noautolegend; 
band x=x lower=ConLow upper=ConHigh / fillattrs=(color=thistle);
series x=x y=Exp / lineattrs=(color="purple");
series x=x y=OneRun;
xaxis label="Time Step";
yaxis label="Population Size (N)";
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Feb 2016 10:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247693#M8992</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-03T10:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 GRAPH QUESTION-POLYGON and Line Segment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247898#M8995</link>
      <description>Thank you so much! That helps a lot! I have solved problem with band graph,thank you very much!</description>
      <pubDate>Thu, 04 Feb 2016 03:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-9-3-GRAPH-QUESTION-POLYGON-and-Line-Segment/m-p/247898#M8995</guid>
      <dc:creator>xxz3231</dc:creator>
      <dc:date>2016-02-04T03:29:27Z</dc:date>
    </item>
  </channel>
</rss>

