<?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: sgplot:  put the area under dot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656888#M20028</link>
    <description>Thank You.</description>
    <pubDate>Thu, 11 Jun 2020 03:33:37 GMT</pubDate>
    <dc:creator>Golf</dc:creator>
    <dc:date>2020-06-11T03:33:37Z</dc:date>
    <item>
      <title>sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656831#M20026</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; I have 2 variables:&amp;nbsp; binomialpdf and X.&amp;nbsp; &amp;nbsp;I use the following procedure&lt;/P&gt;
&lt;P&gt;proc sgplot data =one;&lt;BR /&gt;scatter y=binomialpdf x=x;&lt;BR /&gt;run;&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="Golf_0-1591842872102.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/42311i35E5BEEA4C1F1245/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Golf_0-1591842872102.png" alt="Golf_0-1591842872102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there anyway to put area under each dot in the above graph?&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 02:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656831#M20026</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-06-11T02:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656884#M20027</link>
      <description>&lt;P&gt;If you calculate the area outside of the SGPLOT and have it in your dataset you could use XAXISTABLE to print the numbers in the graph.&amp;nbsp; I don't think SGPLOT has any Area under the curve options that it can calculate on its own.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 03:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656884#M20027</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2020-06-11T03:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656888#M20028</link>
      <description>Thank You.</description>
      <pubDate>Thu, 11 Jun 2020 03:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656888#M20028</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-06-11T03:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656890#M20029</link>
      <description>&lt;P&gt;I also try another procedure "gplot", but it looks similar even I add option "areas=1" (picture is below).&lt;/P&gt;
&lt;P&gt;proc gplot data=chap3_binomial;&lt;BR /&gt;plot binomialpdf*x / areas=1;&lt;/P&gt;
&lt;P&gt;Is there other procedure to get my objective?&lt;/P&gt;
&lt;P&gt;Thank&amp;nbsp; you.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Golf_0-1591846560926.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/42377iC2E26BBDFC6DC0DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Golf_0-1591846560926.png" alt="Golf_0-1591846560926.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 03:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/656890#M20029</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-06-11T03:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657458#M20030</link>
      <description>&lt;P&gt;You want this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.air ;
scatter x=date y=air;
band x=date lower=0 upper=air / transparency=0.5;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jun 2020 11:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657458#M20030</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-06-11T11:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657545#M20033</link>
      <description>&lt;P&gt;You can use a needle plot or a bar chart. For examples and discussion, &lt;A href="https://blogs.sas.com/content/iml/2016/09/12/overlay-curve-bar-chart-sas.html" target="_self"&gt;see this blog post.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
do x = 0 to 30;
   binomialpdf = pdf("Binomial", x, 0.6, 30);
   output;
end;
run;

proc sgplot data =one;
needle y=binomialpdf x=x / markers lineattrs=(thickness=5);
run;

proc sgplot data =one;
vbarbasic x / response=binomialPDF barwidth=1;      /* requires SAS 9.4M3 */
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jun 2020 14:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657545#M20033</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-06-11T14:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657743#M20039</link>
      <description>Dear Rick,&lt;BR /&gt;Thank You for your help.  This is what I want.&lt;BR /&gt;Bests,&lt;BR /&gt;Golf</description>
      <pubDate>Fri, 12 Jun 2020 01:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657743#M20039</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-06-12T01:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot:  put the area under dot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657745#M20040</link>
      <description>Thank You.</description>
      <pubDate>Fri, 12 Jun 2020 01:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-put-the-area-under-dot/m-p/657745#M20040</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-06-12T01:20:38Z</dc:date>
    </item>
  </channel>
</rss>

