<?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 gcontour grid lines in front of contour lines in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37597#M1204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes, and it is probably worth doing if there is not an easier way. Thanks - it was kind of you to take the trouble to write it out, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to wait a little while to see if somebody comes up with an easier way, but if not, I will annotate the graph. I was already wondering if I had to use annotation to solve another problem about uneven tick marks, which I will post in another thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2012 13:52:13 GMT</pubDate>
    <dc:creator>CEB</dc:creator>
    <dc:date>2012-03-21T13:52:13Z</dc:date>
    <item>
      <title>gcontour grid lines in front of contour lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37595#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using gcontour to create a plot with grid lines showing, I get plots in which the grid lines appear in front of the contour lines. Since the grid lines are light gray and the contours are black, this visually looks like the contour lines have breaks in them. Depending on the shape of the contours, the pattern of breaks is quite obvious and distracting, and can even create a Moire effect. I have also tried href and vref lines, but they also break contour lines. Is there a way to put the grid (or ref) lines behind the contours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also using grid lines with gplot and i=join, in which case the grid appears behind the plotted curves and it looks fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helv;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;proc gcontour data=example;&lt;/P&gt;&lt;P dir="ltr"&gt;plot y*x=z / nolegend autolabel levels=0 to 5 by 0.5 grid;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helv;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helv;"&gt;﻿&lt;/SPAN&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37595#M1202</guid>
      <dc:creator>CEB</dc:creator>
      <dc:date>2012-03-20T14:09:54Z</dc:date>
    </item>
    <item>
      <title>gcontour grid lines in front of contour lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37596#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One work-around would be to annotate the grid/reflines, using when='b' to draw them before/behind the rest of the graph...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data anno_grid;&lt;BR /&gt;when='b'; color='graydd';&lt;BR /&gt;do x_loop=0 to 10 by 2.5;&lt;BR /&gt; xsys='2'; ysys='1';&lt;BR /&gt; function='move'; x=x_loop; y=0; output;&lt;BR /&gt; function='draw'; y=100; output;&lt;BR /&gt;end;&lt;BR /&gt;do y_loop=0 to 7 by 1.75;&lt;BR /&gt; ysys='2'; xsys='1';&lt;BR /&gt; function='move'; y=y_loop; x=0; output;&lt;BR /&gt; function='draw'; x=100; output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gcontour data=sashelp.lake anno=anno_grid;&lt;BR /&gt;plot length*width=depth / nolegend autolabel&lt;BR /&gt;&amp;nbsp; levels=-10 to 0 by 2;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 17:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37596#M1203</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-03-20T17:05:14Z</dc:date>
    </item>
    <item>
      <title>gcontour grid lines in front of contour lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37597#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes, and it is probably worth doing if there is not an easier way. Thanks - it was kind of you to take the trouble to write it out, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to wait a little while to see if somebody comes up with an easier way, but if not, I will annotate the graph. I was already wondering if I had to use annotation to solve another problem about uneven tick marks, which I will post in another thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 13:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gcontour-grid-lines-in-front-of-contour-lines/m-p/37597#M1204</guid>
      <dc:creator>CEB</dc:creator>
      <dc:date>2012-03-21T13:52:13Z</dc:date>
    </item>
  </channel>
</rss>

