<?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 Plot multiple values on the same axis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Plot-multiple-values-on-the-same-axis/m-p/432928#M14949</link>
    <description>&lt;P&gt;Hello SAS experts,&lt;/P&gt;&lt;P&gt;I'd like to create a Desired Plot&amp;nbsp;on the right in the image?&lt;/P&gt;&lt;P&gt;Any comments or demo codes highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acknowledgement: The code here was suggested by DanH_sas.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="...\plot.txt"
out=plot
dbms=tab replace;
guessingrows=max;
run;
proc sgplot data=PLOT /*data attached*/;  
series x=risk_out y=mean_bias / group=agecat;
series x=risk_in y=mean_bias / group=agecat x2axis transparency=1;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLOT_IMAGE_NEW.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18244i671861DACF590C7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="PLOT_IMAGE_NEW.png" alt="PLOT_IMAGE_NEW.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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2018 23:27:58 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2018-01-31T23:27:58Z</dc:date>
    <item>
      <title>Plot multiple values on the same axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-multiple-values-on-the-same-axis/m-p/432928#M14949</link>
      <description>&lt;P&gt;Hello SAS experts,&lt;/P&gt;&lt;P&gt;I'd like to create a Desired Plot&amp;nbsp;on the right in the image?&lt;/P&gt;&lt;P&gt;Any comments or demo codes highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acknowledgement: The code here was suggested by DanH_sas.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="...\plot.txt"
out=plot
dbms=tab replace;
guessingrows=max;
run;
proc sgplot data=PLOT /*data attached*/;  
series x=risk_out y=mean_bias / group=agecat;
series x=risk_in y=mean_bias / group=agecat x2axis transparency=1;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLOT_IMAGE_NEW.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18244i671861DACF590C7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="PLOT_IMAGE_NEW.png" alt="PLOT_IMAGE_NEW.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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 23:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-multiple-values-on-the-same-axis/m-p/432928#M14949</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-01-31T23:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Plot multiple values on the same axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-multiple-values-on-the-same-axis/m-p/433241#M14956</link>
      <description>&lt;P&gt;To get that graph, you will also need a REVERSE:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="...\plot.txt"
out=plot
dbms=tab replace;
guessingrows=max;
run;
proc sgplot data=PLOT /*data attached*/;  
series x=risk_out y=mean_bias / group=agecat;
series x=risk_in y=mean_bias / group=agecat x2axis transparency=1;
x2axis reverse;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 19:26:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-multiple-values-on-the-same-axis/m-p/433241#M14956</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-02-01T19:26:36Z</dc:date>
    </item>
  </channel>
</rss>

