<?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 PROC gplot in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297310#M16826</link>
    <description>&lt;DIV class="lia-message-heading"&gt;
&lt;DIV class="lia-message-actions-secondary"&gt;
&lt;DIV class="lia-button-group-left"&gt;Hi,&lt;/DIV&gt;
&lt;DIV class="lia-button-group-left"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-body"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;I am trying to produce a plot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below is example data&lt;/P&gt;
&lt;P&gt;histo treatment subjid tspd &amp;nbsp;&amp;nbsp;pct_chg&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; G-CHP &amp;nbsp; &amp;nbsp; 1001 &amp;nbsp;100 &amp;nbsp; &amp;nbsp;-98&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ii need to generate a plot by histo and all treatments in oneplot&lt;/P&gt;
&lt;P&gt;Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;proc gplot data = &amp;amp;ds.;&lt;BR /&gt;plot pct_chg * tspd = subjid/ des = "Non-DLBCL" vaxis=axis1 haxis=axis2 noframe nolegend ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ques:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in tspd i have values from 0 to 1000 and I have 7 treatment arms.&lt;/P&gt;
&lt;P&gt;when I am ploting for some treatments if tspd &amp;gt; 400 they are not showing in the graph but they are in the dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So can you please guide.Greatly appreciated help..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Sep 2016 08:33:11 GMT</pubDate>
    <dc:creator>valli</dc:creator>
    <dc:date>2016-09-09T08:33:11Z</dc:date>
    <item>
      <title>PROC gplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297310#M16826</link>
      <description>&lt;DIV class="lia-message-heading"&gt;
&lt;DIV class="lia-message-actions-secondary"&gt;
&lt;DIV class="lia-button-group-left"&gt;Hi,&lt;/DIV&gt;
&lt;DIV class="lia-button-group-left"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-body"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;I am trying to produce a plot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below is example data&lt;/P&gt;
&lt;P&gt;histo treatment subjid tspd &amp;nbsp;&amp;nbsp;pct_chg&lt;/P&gt;
&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; G-CHP &amp;nbsp; &amp;nbsp; 1001 &amp;nbsp;100 &amp;nbsp; &amp;nbsp;-98&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ii need to generate a plot by histo and all treatments in oneplot&lt;/P&gt;
&lt;P&gt;Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;proc gplot data = &amp;amp;ds.;&lt;BR /&gt;plot pct_chg * tspd = subjid/ des = "Non-DLBCL" vaxis=axis1 haxis=axis2 noframe nolegend ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ques:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in tspd i have values from 0 to 1000 and I have 7 treatment arms.&lt;/P&gt;
&lt;P&gt;when I am ploting for some treatments if tspd &amp;gt; 400 they are not showing in the graph but they are in the dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So can you please guide.Greatly appreciated help..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297310#M16826</guid>
      <dc:creator>valli</dc:creator>
      <dc:date>2016-09-09T08:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297416#M16829</link>
      <description>&lt;P&gt;Show the definition of AXIS2. When you use haxis=axis2&amp;nbsp;then the defintion if you include and ORDER or something controlling tickmarks and displayed values may truncate the displayed values. For instance if AXIS2 includes something like Order=(0 to 400 by 50) it would not display any values greater than 400 on that axis.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297416#M16829</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-09T15:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297429#M16830</link>
      <description>&lt;P&gt;axis1 label = (a=90 f=arial h=2.2 "% Change of Tumor from Baseline")&lt;/P&gt;&lt;P&gt;value = (h=1.5)&lt;/P&gt;&lt;P&gt;style = 1&lt;/P&gt;&lt;P&gt;width = 5&lt;/P&gt;&lt;P&gt;color = black&lt;/P&gt;&lt;P&gt;offset = (1 cm, 1 cm)&lt;/P&gt;&lt;P&gt;order = (-100 to 25 by 25)&lt;/P&gt;&lt;P&gt;major = (h=0.5 w=6);&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;axis2 label = (f=arial h= 2.2 "TIME (days)")&lt;/P&gt;&lt;P&gt;value = (h=1.5)&lt;/P&gt;&lt;P&gt;style = 1&lt;/P&gt;&lt;P&gt;width = 5&lt;/P&gt;&lt;P&gt;color = black&lt;/P&gt;&lt;P&gt;offset = (1 cm, 1 cm)&lt;/P&gt;&lt;P&gt;order = (0 to 1000 by 200)&lt;/P&gt;&lt;P&gt;major = (h=0.5 w=6)&lt;/P&gt;&lt;P&gt;minor=none&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;create table all1 as&lt;/P&gt;&lt;P&gt;select histo,trtg,atrt, count(unique(subjid)) as ntrt from all&lt;/P&gt;&lt;P&gt;group by histo,trtg,atrt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt11 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3001 and histo=1;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt12 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3002 and histo=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt13 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3003 and histo=1;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt14 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3004 and histo=1;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt15 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3005 and histo=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt16 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3006 and histo=1;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt17 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3007 and histo=1;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt53 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3003 and histo=5;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt54 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3004 and histo=5;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt55 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3005 and histo=5;&lt;/P&gt;&lt;P&gt;select ntrt into:ntrt57 from all1&lt;/P&gt;&lt;P&gt;where atrt = 3007 and histo=5;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data = &amp;amp;ds. ;&lt;/P&gt;&lt;P&gt;by atrt subjid tspd;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%if &amp;amp;hist = 1 %then %do;&lt;/P&gt;&lt;P&gt;%macro B11;&lt;/P&gt;&lt;P&gt;%do J = 1 %to 9;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;J i=join v=circle w=2 l=1 h=1 color=green;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B11;&lt;/P&gt;&lt;P&gt;%macro B12;&lt;/P&gt;&lt;P&gt;%do J = 10 %to 47;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=RED;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B12;&lt;/P&gt;&lt;P&gt;%macro B13;&lt;/P&gt;&lt;P&gt;%do j = 48 %to 51;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=BLUE;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B13;&lt;/P&gt;&lt;P&gt;%macro B14;&lt;/P&gt;&lt;P&gt;%do J = 52 %to 55;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;J i=join v=circle w=2 l=1 h=1 color=BLACK;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B14;&lt;/P&gt;&lt;P&gt;%macro B15;&lt;/P&gt;&lt;P&gt;%do J = 56 %to 57;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=ORANGE;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B15;&lt;/P&gt;&lt;P&gt;%macro B16;&lt;/P&gt;&lt;P&gt;%do j = 58 %to 60;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=BROWN;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B16;&lt;/P&gt;&lt;P&gt;%macro B17;&lt;/P&gt;&lt;P&gt;%do j = 61 %to 65;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=square w=4 l=1 h=4 color=purple;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B17;&lt;/P&gt;&lt;P&gt;%B11;&lt;/P&gt;&lt;P&gt;%B12;&lt;/P&gt;&lt;P&gt;%B13;&lt;/P&gt;&lt;P&gt;%B14;&lt;/P&gt;&lt;P&gt;%B15;&lt;/P&gt;&lt;P&gt;%B16;&lt;/P&gt;&lt;P&gt;%B17;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%if &amp;amp;hist = 5 %then %do;&lt;/P&gt;&lt;P&gt;%macro B53;&lt;/P&gt;&lt;P&gt;%do j = 1 %to 2;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=BLUE;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B53;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro B54;&lt;/P&gt;&lt;P&gt;%do j = 3 %to 4;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=BLACK;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B54;&lt;/P&gt;&lt;P&gt;%macro B55;&lt;/P&gt;&lt;P&gt;%do j = 5 %to 5;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=ORANGE;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B55;&lt;/P&gt;&lt;P&gt;%macro B57;&lt;/P&gt;&lt;P&gt;%do j = 6 %to 6;&lt;/P&gt;&lt;P&gt;symbol&amp;amp;j i=join v=circle w=2 l=1 h=1 color=purple;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend B57;&lt;/P&gt;&lt;P&gt;%B53;&lt;/P&gt;&lt;P&gt;%B54;&lt;/P&gt;&lt;P&gt;%B55;;&lt;/P&gt;&lt;P&gt;%B57;;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%if &amp;amp;hist = 1 %then %do;&lt;/P&gt;&lt;P&gt;proc gplot data = &amp;amp;ds.;&lt;/P&gt;&lt;P&gt;plot pct_chg * tspd = subjid/ des = "DLBCL" vaxis=axis1 haxis=axis2 noframe nolegend ;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%else %if &amp;amp;hist = 5 %then %do;&lt;/P&gt;&lt;P&gt;proc gplot data = &amp;amp;ds.;&lt;/P&gt;&lt;P&gt;plot pct_chg * tspd = subjid/ des = "Non-DLBCL" vaxis=axis1 haxis=axis2 noframe nolegend ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;%mend plot;&lt;/P&gt;&lt;P&gt;%plot(hist=1,d=1,ds=all_dl);&lt;/P&gt;&lt;P&gt;%plot(hist=5,d=1,ds=all_fl);&lt;/P&gt;&lt;P&gt;%plot(hist=1,d=2,ds=all_dl);&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached my code..Appreciate your help&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12957i44D5DEB413922E50/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="plot_ex.png" title="plot_ex.png" /&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-gplot/m-p/297429#M16830</guid>
      <dc:creator>valli</dc:creator>
      <dc:date>2016-09-09T15:38:52Z</dc:date>
    </item>
  </channel>
</rss>

