<?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 Re: what's wrong with my settings? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21603#M568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's too weird..............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the codes on three computers.............It still did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The color of y6 on the plots is correct (orange), but the color of y6 in the legend is still blue...........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm almost mad.................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;art297 编写:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One possibility is that your origin statement for legend2 doesn't have the proper allignment.&amp;nbsp; The following worked for me:&lt;/P&gt;&lt;P&gt;LEGEND2 mode=protect LABEL=(HEIGHT=5 '')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=(f='arial/bo' h=4) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; position=(top center outside) origin=(28.7 84)pct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order=("y6")&amp;nbsp; FWIDTH=40 mode=share;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Mar 2012 14:38:43 GMT</pubDate>
    <dc:creator>TomiKong</dc:creator>
    <dc:date>2012-03-04T14:38:43Z</dc:date>
    <item>
      <title>what's wrong with my settings?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21599#M564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what's wrong with my codes below. The color of y6 symbol in the legend is annoyingly the same with y1, which suffered me a lot.. It should be orange!!!!!&amp;nbsp; How this happens? Anyone can help me out? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;/P&gt;&lt;P&gt;do i=1 to 10;&lt;/P&gt;&lt;P&gt;x=i;&lt;/P&gt;&lt;P&gt;y1=i*2;&lt;/P&gt;&lt;P&gt;y2=i*3;&lt;/P&gt;&lt;P&gt;y3=i*4;&lt;/P&gt;&lt;P&gt;y4=i*5;&lt;/P&gt;&lt;P&gt;y5=i*6;&lt;/P&gt;&lt;P&gt;y6=i*100;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;drop i;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS on/ RESET IMAGENAME = 'Final'&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMAGEFMT =tiff; &lt;/P&gt;&lt;P&gt;ODS LISTING GPATH = 'c:\MyGraphs';&lt;/P&gt;&lt;P&gt;goptions device=png gsfname=output gsfmode=replace xpixels=1200 ypixels=900 xmax=4 in ymax=3 in;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goption reset=global;&lt;/P&gt;&lt;P&gt;goptions ftext='Arial' htext=2 gunit=pct ctext=black;&lt;/P&gt;&lt;P&gt;title1 h=6 f='arial/bo' "This is one figure";&lt;/P&gt;&lt;P&gt;title2 " ";&lt;/P&gt;&lt;P&gt;title3 " ";&lt;/P&gt;&lt;P&gt;title4 " ";&lt;/P&gt;&lt;P&gt;title5 " ";&lt;/P&gt;&lt;P&gt;axis1 label=(f='arial/bo' h=5 "Price") order=(0 to 10 by 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=(f='arial/bo' h=5);&lt;/P&gt;&lt;P&gt;axis2 label=(a=90 f='arial/bo' h=5 "first axis") order=(0 to 100 by 10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=(f='arial/bo' h=5);&lt;/P&gt;&lt;P&gt;axis3 label=(a=90 f='arial/bo' h=5 "second axis") order=(100 to 1000 by 100)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=(f='arial/bo' h=5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEGEND1 LABEL=(HEIGHT=1 "") value=(f='arial/bo' h=4) position=(top center outside) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order=("y1" "y2" "y3" "y4" "y5")&amp;nbsp; FWIDTH=40&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; across=3 down=2 origin=(13 84) mode=share;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEGEND2 mode=protect LABEL=(HEIGHT=5 '') value=(f='arial/bo' h=4) position=(top center outside) origin=(23 84)pct &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order=("y6")&amp;nbsp; FWIDTH=40 mode=share; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 v=none INTERPOL=join c=blue width=5;&lt;/P&gt;&lt;P&gt;symbol2 v=none INTERPOL=join c=red width=5;&lt;/P&gt;&lt;P&gt;symbol3 v=none INTERPOL=join c=green width=5;&lt;/P&gt;&lt;P&gt;symbol4 v=none INTERPOL=join c=MAGENTA&amp;nbsp; width=5;&lt;/P&gt;&lt;P&gt;symbol5 v=none INTERPOL=join c=CRIMSON&amp;nbsp; width=5;&lt;/P&gt;&lt;P&gt;symbol6 v=none INTERPOL=join c=orange&amp;nbsp; width=5;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=mydata;&lt;/P&gt;&lt;P&gt;plot (y1 y2 y3 y4 y5)*x / overlay frame legend=legend1 haxis=axis1&lt;/P&gt;&lt;P&gt;vaxis=axis2 vref=0 cvref=black;&lt;/P&gt;&lt;P&gt;plot2 y6*x /overlay frame legend=legend2 vaxis=axis3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ods listing close;&lt;/P&gt;&lt;P&gt;ods graphics off;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 08:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21599#M564</guid>
      <dc:creator>TomiKong</dc:creator>
      <dc:date>2012-03-04T08:13:52Z</dc:date>
    </item>
    <item>
      <title>what's wrong with my settings?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21600#M565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When running your code in my Win7 64bit SAS92 TS Level 2M3 environment I'm getting an orange line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS/Graph is a world on its own (and not really mine). The only thing I can think of is that may be someone stuffed up the color table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is true then using a RGB value should overcome the problem:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 11pt;"&gt;symbol6&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 11pt;"&gt;v&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 11pt;"&gt;=none &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 11pt;"&gt;INTERPOL&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 11pt;"&gt;=join &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 11pt;"&gt;c&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 11pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 11pt;"&gt;'CXFF8000'&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 11pt;"&gt;width&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 11pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 11pt; background-color: white; font-family: 'Courier New';"&gt;5&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;A href="http://support.sas.com/techsup/technote/ts688/ts688.html"&gt;http://support.sas.com/techsup/technote/ts688/ts688.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#colors-specify-color.htm"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#colors-specify-color.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;Patrick&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 11:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21600#M565</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-03-04T11:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: what's wrong with my settings?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21601#M566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you getting the orange symbol on in the legend?&lt;/P&gt;&lt;P&gt;I'm getting the orange line on the plot,but in the legend on the top, the symbol of y6 is &lt;SPAN style="background-color: #eef4f9;"&gt;annoyingly &lt;/SPAN&gt;the same as y1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the RGB as you suggested, but the symbol of y6 on in the legend was still blue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uploaded the fig. Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11814i6D45AC5ECB66A007/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="test.JPG" title="test.JPG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 11:27:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21601#M566</guid>
      <dc:creator>TomiKong</dc:creator>
      <dc:date>2012-03-04T11:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: what's wrong with my settings?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21602#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possibility is that your origin statement for legend2 doesn't have the proper allignment.&amp;nbsp; The following worked for me:&lt;/P&gt;&lt;P&gt;LEGEND2 mode=protect LABEL=(HEIGHT=5 '')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=(f='arial/bo' h=4) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; position=(top center outside) origin=(28.7 84)pct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order=("y6")&amp;nbsp; FWIDTH=40 mode=share;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 14:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21602#M567</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-04T14:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: what's wrong with my settings?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21603#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's too weird..............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the codes on three computers.............It still did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The color of y6 on the plots is correct (orange), but the color of y6 in the legend is still blue...........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm almost mad.................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;art297 编写:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One possibility is that your origin statement for legend2 doesn't have the proper allignment.&amp;nbsp; The following worked for me:&lt;/P&gt;&lt;P&gt;LEGEND2 mode=protect LABEL=(HEIGHT=5 '')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=(f='arial/bo' h=4) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; position=(top center outside) origin=(28.7 84)pct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order=("y6")&amp;nbsp; FWIDTH=40 mode=share;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 14:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21603#M568</guid>
      <dc:creator>TomiKong</dc:creator>
      <dc:date>2012-03-04T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: what's wrong with my settings?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21604#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes............I found where the problem is&lt;/P&gt;&lt;P&gt;plot2 y6*x=6 /overlay frame legend=legend2 vaxis=axis3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 14:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/what-s-wrong-with-my-settings/m-p/21604#M569</guid>
      <dc:creator>TomiKong</dc:creator>
      <dc:date>2012-03-04T14:51:49Z</dc:date>
    </item>
  </channel>
</rss>

