<?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 A plot with with different lines in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24929#M4157</link>
    <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I want to create a plot with different linetypes (kind of lines).&lt;BR /&gt;
I define two symbols. But always I get plots with lines from symbol1.&lt;BR /&gt;
I should looks similar like &lt;A href="http://cnx.org/content/m11242/latest/seq.png" target="_blank"&gt;http://cnx.org/content/m11242/latest/seq.png&lt;/A&gt; or &lt;A href="http://www.kumamoto-u.ac.jp/seeds/seeds/25000217/images/img_main1.gif" target="_blank"&gt;http://www.kumamoto-u.ac.jp/seeds/seeds/25000217/images/img_main1.gif&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
S1 and S2 are my borders which I create with an algorthm. These are not a usual confidenceintervall. &lt;BR /&gt;
&lt;BR /&gt;
Lex&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=xyz;&lt;BR /&gt;
symbol1 i=stepjr;&lt;BR /&gt;
symbol2 i=join;&lt;BR /&gt;
plot y*x=1 (s1 s2)*x=2 /overlay&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
run;</description>
    <pubDate>Wed, 29 Apr 2009 09:46:07 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-04-29T09:46:07Z</dc:date>
    <item>
      <title>A plot with with different lines</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24929#M4157</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I want to create a plot with different linetypes (kind of lines).&lt;BR /&gt;
I define two symbols. But always I get plots with lines from symbol1.&lt;BR /&gt;
I should looks similar like &lt;A href="http://cnx.org/content/m11242/latest/seq.png" target="_blank"&gt;http://cnx.org/content/m11242/latest/seq.png&lt;/A&gt; or &lt;A href="http://www.kumamoto-u.ac.jp/seeds/seeds/25000217/images/img_main1.gif" target="_blank"&gt;http://www.kumamoto-u.ac.jp/seeds/seeds/25000217/images/img_main1.gif&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
S1 and S2 are my borders which I create with an algorthm. These are not a usual confidenceintervall. &lt;BR /&gt;
&lt;BR /&gt;
Lex&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=xyz;&lt;BR /&gt;
symbol1 i=stepjr;&lt;BR /&gt;
symbol2 i=join;&lt;BR /&gt;
plot y*x=1 (s1 s2)*x=2 /overlay&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 29 Apr 2009 09:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24929#M4157</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-29T09:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: A plot with with different lines</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24930#M4158</link>
      <description>add repeat=1 to the symbol statement to only use it once</description>
      <pubDate>Wed, 29 Apr 2009 13:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24930#M4158</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-04-29T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: A plot with with different lines</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24931#M4159</link>
      <description>I had add it. But it dosnt work. Perhaps I made an other mistake. My hole SAS code:&lt;BR /&gt;
&lt;BR /&gt;
data a;&lt;BR /&gt;
INPUT obs i;&lt;BR /&gt;
CARDS;&lt;BR /&gt;
1 1&lt;BR /&gt;
2 0&lt;BR /&gt;
3 1&lt;BR /&gt;
4 1&lt;BR /&gt;
5 0&lt;BR /&gt;
6 0&lt;BR /&gt;
7 0&lt;BR /&gt;
8 1&lt;BR /&gt;
9 0&lt;BR /&gt;
10 1&lt;BR /&gt;
run;&lt;BR /&gt;
data a;&lt;BR /&gt;
set a;&lt;BR /&gt;
i_sum+i;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data a;&lt;BR /&gt;
set b;&lt;BR /&gt;
%let a=0.001;&lt;BR /&gt;
%let b=0.2;&lt;BR /&gt;
%let p1=0.1;&lt;BR /&gt;
%let p2=0.2;&lt;BR /&gt;
%let q=log(&amp;amp;p2*(1-&amp;amp;p1)/&amp;amp;p1*(1-&amp;amp;p2));&lt;BR /&gt;
%let h1=log(&amp;amp;b/(1-&amp;amp;a))/&amp;amp;q;&lt;BR /&gt;
%let h2=log((1-&amp;amp;b)/&amp;amp;a)/&amp;amp;q;&lt;BR /&gt;
q=&amp;amp;q;&lt;BR /&gt;
h1=&amp;amp;h1;&lt;BR /&gt;
h2=&amp;amp;h2;&lt;BR /&gt;
s=log((1-&amp;amp;p1)/(1-&amp;amp;p2))/&amp;amp;q;&lt;BR /&gt;
d1=&amp;amp;h1+s*obs;&lt;BR /&gt;
d2=&amp;amp;h2+s*obs;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=a;&lt;BR /&gt;
title 'test';&lt;BR /&gt;
symbol1 i=stepjl repeat=1;&lt;BR /&gt;
symbol2 i=join;&lt;BR /&gt;
plot i_sum*obs=1 (d1 d2)*obs=2 /overlay;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 29 Apr 2009 15:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24931#M4159</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-29T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: A plot with with different lines</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24932#M4160</link>
      <description>I missed the fact that you would also be cycling through the colours list.  Add c=blue to symbol1 and then it will only be used once.  You can remove the r= option.  Revised code below.&lt;BR /&gt;
&lt;BR /&gt;
data a;                                                                                                                                 &lt;BR /&gt;
  INPUT obs i;                                                                                                                          &lt;BR /&gt;
  i_sum+i;                                                                                                                              &lt;BR /&gt;
  %let a=0.001;                                                                                                                         &lt;BR /&gt;
  %let b=0.2;                                                                                                                           &lt;BR /&gt;
  %let p1=0.1;                                                                                                                          &lt;BR /&gt;
  %let p2=0.2;                                                                                                                          &lt;BR /&gt;
  %let q=log(&amp;amp;p2*(1-&amp;amp;p1)/&amp;amp;p1*(1-&amp;amp;p2));                                                                                                  &lt;BR /&gt;
  %let h1=log(&amp;amp;b/(1-&amp;amp;a))/&amp;amp;q;                                                                                                            &lt;BR /&gt;
  %let h2=log((1-&amp;amp;b)/&amp;amp;a)/&amp;amp;q;                                                                                                            &lt;BR /&gt;
  q=&amp;amp;q;                                                                                                                                 &lt;BR /&gt;
  h1=&amp;amp;h1;                                                                                                                               &lt;BR /&gt;
  h2=&amp;amp;h2;                                                                                                                               &lt;BR /&gt;
  s=log((1-&amp;amp;p1)/(1-&amp;amp;p2))/&amp;amp;q;                                                                                                            &lt;BR /&gt;
  d1=&amp;amp;h1+s*obs;                                                                                                                         &lt;BR /&gt;
  d2=&amp;amp;h2+s*obs;                                                                                                                         &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
CARDS;                                                                                                                                  &lt;BR /&gt;
1 1                                                                                                                                     &lt;BR /&gt;
2 0                                                                                                                                     &lt;BR /&gt;
3 1                                                                                                                                     &lt;BR /&gt;
4 1                                                                                                                                     &lt;BR /&gt;
5 0                                                                                                                                     &lt;BR /&gt;
6 0                                                                                                                                     &lt;BR /&gt;
7 0                                                                                                                                     &lt;BR /&gt;
8 1                                                                                                                                     &lt;BR /&gt;
9 0                                                                                                                                     &lt;BR /&gt;
10 1                                                                                                                                    &lt;BR /&gt;
;                                                                                                                                       &lt;BR /&gt;
run;                                                                                                                                    &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
goptions reset=all dev=win;                                                                                                             &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
title 'test';                                                                                                                           &lt;BR /&gt;
symbol1 i=stepjl c=blue;                                                                                                                &lt;BR /&gt;
symbol2 i=join;                                                                                                                         &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
proc gplot data=a;                                                                                                                      &lt;BR /&gt;
  plot i_sum*obs=1 (d1 d2)*obs=2 /overlay;                                                                                              &lt;BR /&gt;
run;                                                                                                                                    &lt;BR /&gt;
quit;</description>
      <pubDate>Thu, 30 Apr 2009 13:11:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24932#M4160</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-04-30T13:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: A plot with with different lines</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24933#M4161</link>
      <description>Thank you! Now it works.</description>
      <pubDate>Tue, 05 May 2009 07:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-plot-with-with-different-lines/m-p/24933#M4161</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-05T07:41:29Z</dc:date>
    </item>
  </channel>
</rss>

