<?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 SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575240#M162669</link>
    <description>&lt;P&gt;Hello programmers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please i would be glad to know what could be wrong with my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to plot my data to be the line format as opposed to being in the ugly looking format as in the pic.&lt;/P&gt;&lt;P&gt;I'm i missing an option that needs to be specified? Do i need to specify line?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one; set two;run;

goptions  reset=global ;
axis1 label =(f= 'arial/bo' h=1.9 "Age of patients" justify=c 
              f= 'arial/bo' h= 1.3 "(in years)")
			  order = (60 to 120 by 10)
			  value=(f= 'arial/bo'h=1.3 "60.0" "70.0" "80.0" "90.0" "100.0" "110.0" "120.0");
axis2 label =(a =90 f= 'arial/bo' h=1.9 "Systolic Blood Pressure mmHg")
              order =(80 to 200 by 10)
			  value=(a= 90 f= 'arial/bo'h=1.3 "80.0" "90.0" "100.0" "110.0" "120.0" "130.0" "140.0" "150.0" "160.0" "170.0" "180.0" "190.0" "200.0");
symbol1 value=dot color=black interpol=none h=1.2;
symbol2 value=triangle color=black interpol=none h=1.5;
Legend1 across=1 down=2 noframe
        position= (bottom right inside) mode=protect
		label =(f= 'arial/bo' h=1.4 "Obesity")
		value=(f= 'arial/bo' h=1.4 "0" "1");
proc gplot data= one;
plot systolic*aage=obese/haxis=axis1 vaxis=axis2 legend=legend1;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31178i5D54DB238F500886/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31180i69B8569489F9ED62/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jul 2019 23:09:56 GMT</pubDate>
    <dc:creator>ChuksManuel</dc:creator>
    <dc:date>2019-07-21T23:09:56Z</dc:date>
    <item>
      <title>Proc Gplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575240#M162669</link>
      <description>&lt;P&gt;Hello programmers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please i would be glad to know what could be wrong with my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to plot my data to be the line format as opposed to being in the ugly looking format as in the pic.&lt;/P&gt;&lt;P&gt;I'm i missing an option that needs to be specified? Do i need to specify line?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one; set two;run;

goptions  reset=global ;
axis1 label =(f= 'arial/bo' h=1.9 "Age of patients" justify=c 
              f= 'arial/bo' h= 1.3 "(in years)")
			  order = (60 to 120 by 10)
			  value=(f= 'arial/bo'h=1.3 "60.0" "70.0" "80.0" "90.0" "100.0" "110.0" "120.0");
axis2 label =(a =90 f= 'arial/bo' h=1.9 "Systolic Blood Pressure mmHg")
              order =(80 to 200 by 10)
			  value=(a= 90 f= 'arial/bo'h=1.3 "80.0" "90.0" "100.0" "110.0" "120.0" "130.0" "140.0" "150.0" "160.0" "170.0" "180.0" "190.0" "200.0");
symbol1 value=dot color=black interpol=none h=1.2;
symbol2 value=triangle color=black interpol=none h=1.5;
Legend1 across=1 down=2 noframe
        position= (bottom right inside) mode=protect
		label =(f= 'arial/bo' h=1.4 "Obesity")
		value=(f= 'arial/bo' h=1.4 "0" "1");
proc gplot data= one;
plot systolic*aage=obese/haxis=axis1 vaxis=axis2 legend=legend1;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31178i5D54DB238F500886/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31180i69B8569489F9ED62/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2019 23:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575240#M162669</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-07-21T23:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575244#M162673</link>
      <description>The data is plotted as stored.
Sort your table.</description>
      <pubDate>Sun, 21 Jul 2019 23:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575244#M162673</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-07-21T23:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575247#M162675</link>
      <description>&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;What option can i use to plot the graph in broken lines?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 00:19:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575247#M162675</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-07-22T00:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575248#M162676</link>
      <description>&lt;P&gt;symbol line=&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 00:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575248#M162676</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-07-22T00:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575249#M162677</link>
      <description>&lt;P&gt;Any particular reason to use GPLOT over SGPLOT? It's a lot more customizable and much easier to use/learn than GPLOT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately most of the older references still use GPLOT but it's outdated for sure, and the graphic quality isn't nearly as nice as SGPLOT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236266"&gt;@ChuksManuel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello programmers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please i would be glad to know what could be wrong with my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to plot my data to be the line format as opposed to being in the ugly looking format as in the pic.&lt;/P&gt;
&lt;P&gt;I'm i missing an option that needs to be specified? Do i need to specify line?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one; set two;run;

goptions  reset=global ;
axis1 label =(f= 'arial/bo' h=1.9 "Age of patients" justify=c 
              f= 'arial/bo' h= 1.3 "(in years)")
			  order = (60 to 120 by 10)
			  value=(f= 'arial/bo'h=1.3 "60.0" "70.0" "80.0" "90.0" "100.0" "110.0" "120.0");
axis2 label =(a =90 f= 'arial/bo' h=1.9 "Systolic Blood Pressure mmHg")
              order =(80 to 200 by 10)
			  value=(a= 90 f= 'arial/bo'h=1.3 "80.0" "90.0" "100.0" "110.0" "120.0" "130.0" "140.0" "150.0" "160.0" "170.0" "180.0" "190.0" "200.0");
symbol1 value=dot color=black interpol=none h=1.2;
symbol2 value=triangle color=black interpol=none h=1.5;
Legend1 across=1 down=2 noframe
        position= (bottom right inside) mode=protect
		label =(f= 'arial/bo' h=1.4 "Obesity")
		value=(f= 'arial/bo' h=1.4 "0" "1");
proc gplot data= one;
plot systolic*aage=obese/haxis=axis1 vaxis=axis2 legend=legend1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31178i5D54DB238F500886/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31180i69B8569489F9ED62/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 01:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Gplot/m-p/575249#M162677</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-22T01:27:49Z</dc:date>
    </item>
  </channel>
</rss>

