<?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 I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919835#M24445</link>
    <description>&lt;P&gt;How can we get the below mentioned plot having doses (median and ranges) and timepoint on the same axis. Please suggest.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2024 19:49:37 GMT</pubDate>
    <dc:creator>ponnadahima</dc:creator>
    <dc:date>2024-03-11T19:49:37Z</dc:date>
    <item>
      <title>I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919835#M24445</link>
      <description>&lt;P&gt;How can we get the below mentioned plot having doses (median and ranges) and timepoint on the same axis. Please suggest.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 19:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919835#M24445</guid>
      <dc:creator>ponnadahima</dc:creator>
      <dc:date>2024-03-11T19:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919837#M24446</link>
      <description />
      <pubDate>Mon, 11 Mar 2024 19:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919837#M24446</guid>
      <dc:creator>ponnadahima</dc:creator>
      <dc:date>2024-03-11T19:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919867#M24448</link>
      <description>&lt;P&gt;Here is an example creating plot similar to your want:&lt;/P&gt;
&lt;PRE&gt;data example;
   input idvar xvar yvar;
datalines;
1  1 2
1  3 3
1  3 1
2  1 7
2  3 8
2  3 6
;

proc sgplot data=example;
   polygon x=xvar y=yvar id=idvar /fill;
run;&lt;/PRE&gt;
&lt;P&gt;You don't provide any data so have no clue as to what might be needed to convert your data to something that will plot similar to this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because of sort order likely issues I would suggest making sure that your x and y coordinates for the vertices of the triangles are numeric. If you need to display text like "Baseline" or "Week XX" I would suggest using a custom format to display text for the axis ticks for the values used.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 21:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919867#M24448</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-11T21:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919885#M24450</link>
      <description>&lt;P&gt;You'd better post your real data and exact graph you want to display, so I can test code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example;
   input idvar xvar l u;
datalines;
1  1 11 11 
1  2 10 12
1  3 9 13
2  1 4 4 
2  2 3 5
2  3 2 6
;

proc sgplot data=example noautolegend;
   band x=xvar lower=l upper=u/group=idvar fillattrs=graphdata1;
   scatter x=xvar y=l/datalabel group=idvar datalabelpos=bottom datalabelattrs=(color=black size=12 ) markerattrs=(size=0) labelstrip;
   scatter x=xvar y=u/datalabel group=idvar datalabelpos=top datalabelattrs=(color=black size=12 ) markerattrs=(size=0) labelstrip;
   xaxis type=discrete;
   yaxis display=none;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_1-1710210217808.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94575i2CB5D796713ADF42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_1-1710210217808.png" alt="Ksharp_1-1710210217808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 02:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919885#M24450</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-03-12T02:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919888#M24452</link>
      <description>&lt;P&gt;Dear KSHARP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for your response. This code worked a bit, but with my data it is not pointing like a triangle. See my sample data. I need this on urgent basis. I would be really thankful to you if this is resolved today. Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data example;&lt;BR /&gt;input idvar xvar l u;&lt;BR /&gt;datalines;&lt;BR /&gt;1 1 110 460&lt;BR /&gt;1 2 3022 4886&lt;BR /&gt;1 3 2399 6274&lt;BR /&gt;2 1 110 460&lt;BR /&gt;2 2 3256 4269&lt;BR /&gt;2 3 2313 5262&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 04:25:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919888#M24452</guid>
      <dc:creator>ponnadahima</dc:creator>
      <dc:date>2024-03-12T04:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919889#M24453</link>
      <description>&lt;P&gt;Dear Ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for your quick reply. Please see my below data.&lt;/P&gt;&lt;P&gt;data example;&lt;BR /&gt;input idvar xvar l u;&lt;BR /&gt;datalines;&lt;BR /&gt;1 1 110 460&lt;BR /&gt;1 2 3022 4886&lt;BR /&gt;1 3 2399 6274&lt;BR /&gt;2 1 110 460&lt;BR /&gt;2 2 3256 4269&lt;BR /&gt;2 3 2313 5262&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 04:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919889#M24453</guid>
      <dc:creator>ponnadahima</dc:creator>
      <dc:date>2024-03-12T04:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919891#M24454</link>
      <description>Then post a sample picture, so we know what kind of picture you want to look for.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2024 05:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919891#M24454</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-03-12T05:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919893#M24455</link>
      <description>&lt;P&gt;You want this ?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example;
input idvar xvar l u;
datalines;
1 1 110 460
1 2 3022 4886
1 3 2399 6274
2 1 110 460
2 2 3256 4269
2 3 2313 5262
;



proc sgplot data=example noautolegend;
   band x=xvar lower=l upper=u/group=idvar transparency=0.8; * fillattrs=graphdata1;
   scatter x=xvar y=l/datalabel group=idvar datalabelpos=bottom datalabelattrs=( size=12 ) markerattrs=(size=0) labelstrip;
   scatter x=xvar y=u/datalabel group=idvar datalabelpos=top datalabelattrs=( size=12 ) markerattrs=(size=0) labelstrip;
   xaxis type=discrete;
   yaxis display=none;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1710220864030.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94576i229CF84DCC7F3DD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1710220864030.png" alt="Ksharp_0-1710220864030.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 05:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919893#M24455</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-03-12T05:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to plot a polygon triangle shaped graph with cumulative doses of a treatment.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919896#M24456</link>
      <description>&lt;P&gt;Yes, as per my data, I got the same kind of plot. I used proc sgpanel which divided the treatments panel wise. hope this works with the customer as well! thanks a lot for your guidance in this regard.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-m-trying-to-plot-a-polygon-triangle-shaped-graph-with/m-p/919896#M24456</guid>
      <dc:creator>ponnadahima</dc:creator>
      <dc:date>2024-03-12T07:09:42Z</dc:date>
    </item>
  </channel>
</rss>

