<?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: Waterfall in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/729001#M21221</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart;
 id+1;
 if _n_=4 then stop;
 keep diastolic height weight id;
 format id z3.;
run;

proc transpose data=have out=want;
by id;
var  diastolic height weight;
run;
data want;
 set want;
 col1=-col1;
run;

proc sgplot data=want;
vbar id/response=col1 group=_name_ groupdisplay=cluster clusterwidth=0.2 x2axis;
x2axis type=discrete valuesformat=z2.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56468i62FA17D25534BD5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot.png" alt="SGPlot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 10:16:56 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-03-25T10:16:56Z</dc:date>
    <item>
      <title>Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728604#M21207</link>
      <description>&lt;P&gt;How can i draw following graph using sas? Any ideas would be appreciated. 001, 002 are patient numbers, the colored lines are a criterial presenting for each patient.&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="SASSLICK001_0-1616544346793.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56348iC0F38ED210A31A72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASSLICK001_0-1616544346793.png" alt="SASSLICK001_0-1616544346793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 00:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728604#M21207</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2021-03-24T00:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728697#M21210</link>
      <description>Something like a grouped barchart?&lt;BR /&gt;&lt;BR /&gt;See example: &lt;A href="https://robslink.com/SAS/democd17/fruit_info.htm" target="_blank"&gt;https://robslink.com/SAS/democd17/fruit_info.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards, Jos</description>
      <pubDate>Wed, 24 Mar 2021 09:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728697#M21210</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2021-03-24T09:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728726#M21212</link>
      <description>&lt;P&gt;A "Needle" plot:&amp;nbsp; &amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=vdmmlcdc&amp;amp;cdcVersion=1.0&amp;amp;docsetId=grstatproc&amp;amp;docsetTarget=p10dxuw32ilsu6n1opm3i8jcz812.htm&amp;amp;locale=en"&gt;SAS Help Center: Syntax: PROC SGPLOT NEEDLE Statement.&lt;/A&gt;&amp;nbsp; I've implemented graphs like this using a scatter plot; using points, which I make small or invisible, then I use error bars, without "feet", with the same size as the y coordinate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The colors look random.&amp;nbsp; Would you be assigning colors to the needles based on your given data?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 12:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728726#M21212</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-03-24T12:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728728#M21213</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart;
 id+1;
 if _n_=4 then stop;
 keep diastolic height weight id;
 format id z3.;
run;

proc transpose data=have out=want;
by id;
var  diastolic height weight;
run;
data want;
 set want;
 col1=-col1;
run;

proc sgplot data=want;
needle x=id y=col1/group=_name_ groupdisplay=cluster clusterwidth=0.2 x2axis;
x2axis type=discrete valuesformat=z3.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot5.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56389iA281D8188AC10049/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot5.png" alt="SGPlot5.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 12:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728728#M21213</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-03-24T12:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728853#M21216</link>
      <description>thanks for the quick response appreciate it , instead of needle , how can we use the bar</description>
      <pubDate>Wed, 24 Mar 2021 18:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728853#M21216</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2021-03-24T18:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728876#M21219</link>
      <description>Hi : Thanks for the solutions. I have too many subjects in the data, is there any way I can limit the number of subjects per page and create a multi page report.</description>
      <pubDate>Wed, 24 Mar 2021 20:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/728876#M21219</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2021-03-24T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Waterfall</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/729001#M21221</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart;
 id+1;
 if _n_=4 then stop;
 keep diastolic height weight id;
 format id z3.;
run;

proc transpose data=have out=want;
by id;
var  diastolic height weight;
run;
data want;
 set want;
 col1=-col1;
run;

proc sgplot data=want;
vbar id/response=col1 group=_name_ groupdisplay=cluster clusterwidth=0.2 x2axis;
x2axis type=discrete valuesformat=z2.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56468i62FA17D25534BD5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot.png" alt="SGPlot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 10:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Waterfall/m-p/729001#M21221</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-03-25T10:16:56Z</dc:date>
    </item>
  </channel>
</rss>

