<?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: autovref and vref in same graph? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114293#M4310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly for the example I provided.&amp;nbsp;&amp;nbsp; Is there any way to auto generate the 50, 60, 70, 80&amp;nbsp; --- similar to how the autoref does it?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's probably not a big deal.&amp;nbsp; I just don't like typing graydd 20+ times to account for different possible datasets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 18:27:35 GMT</pubDate>
    <dc:creator>ocdobv</dc:creator>
    <dc:date>2013-06-20T18:27:35Z</dc:date>
    <item>
      <title>autovref and vref in same graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114289#M4306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&amp;nbsp; I'm relatively new to SAS graphing and am learning by trial and error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I produce a plot that shows the major gridlines in gray (as shown in code 1) as well as show some particular reference lines in different colors (as shown in code 2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code1:&lt;/P&gt;&lt;P&gt;proc gplot data=sashelp.class;&lt;/P&gt;&lt;P&gt;plot height*weight /&lt;/P&gt;&lt;P&gt;haxis=axis1&lt;/P&gt;&lt;P&gt;vaxis=axis2&lt;/P&gt;&lt;P&gt; autovref cvref=graydd; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code2:&lt;/P&gt;&lt;P&gt;proc gplot data=sashelp.class;&lt;/P&gt;&lt;P&gt;plot height*weight /&lt;/P&gt;&lt;P&gt;haxis=axis1&lt;/P&gt;&lt;P&gt;vaxis=axis2&lt;/P&gt;&lt;P&gt;vref=(63 68 74)&lt;/P&gt;&lt;P&gt;cvref=(green yellow red);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 16:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114289#M4306</guid>
      <dc:creator>ocdobv</dc:creator>
      <dc:date>2013-06-20T16:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: autovref and vref in same graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114290#M4307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very easy with SGPLOT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;sgplot&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=sashelp.class;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; scatter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=weight &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;y&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=height;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; refline&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;63&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;68&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;74&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;noclip&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;lineattrs&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=(pattern=dash);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; yaxis&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;grid&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;If you want each refline colored differently, use three separate refline statements with three different colors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 16:50:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114290#M4307</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-06-20T16:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: autovref and vref in same graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114291#M4308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similarly easy with gplot ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=sashelp.class;&lt;/P&gt;&lt;P&gt;plot height*weight /&lt;/P&gt;&lt;P&gt;haxis=axis1&lt;/P&gt;&lt;P&gt;vaxis=axis2&lt;/P&gt;&lt;P&gt;vref=(50 60 63 68 70 74 80)&lt;/P&gt;&lt;P&gt;cvref=(graydd graydd green yellow graydd red graydd);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 17:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114291#M4308</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-06-20T17:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: autovref and vref in same graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114292#M4309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp; This opens up lots of new things for me to try &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114292#M4309</guid>
      <dc:creator>ocdobv</dc:creator>
      <dc:date>2013-06-20T18:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: autovref and vref in same graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114293#M4310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly for the example I provided.&amp;nbsp;&amp;nbsp; Is there any way to auto generate the 50, 60, 70, 80&amp;nbsp; --- similar to how the autoref does it?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's probably not a big deal.&amp;nbsp; I just don't like typing graydd 20+ times to account for different possible datasets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114293#M4310</guid>
      <dc:creator>ocdobv</dc:creator>
      <dc:date>2013-06-20T18:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: autovref and vref in same graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114294#M4311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes I use autoref for the gray lines, and then annotate the 'special' (colored) lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 19:45:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/autovref-and-vref-in-same-graph/m-p/114294#M4311</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-06-20T19:45:51Z</dc:date>
    </item>
  </channel>
</rss>

