<div dir="ltr"><div><div>Hi Jeff,<br><br></div></div><div>Here&#39;s an example of where I have the discrepancy.<br></div><div>I&#39;m looking at a netcdf file with 2 variables, &#39;slope&#39; and &#39;pval&#39; (it&#39;s a trend of rainfall). I&#39;m trying to plot the slope using grfill, and to apply the pattern in areas where &#39;pval&#39; is above a certain value.<br></div><div><br></div><div>First, I define a tile as a new color:<br>&#39;set tile 0 2 6 6 3 0&#39;<br>&#39;set rgb 41 tile 0&#39;<br><br>Then, I shade the slope:<br>&#39;set gxout shaded&#39; * (or grfill) <br>&#39;d slope&#39;<br><br>Third, I apply the pattern fill to pval:<br>&#39;set clevs 0.05&#39;<br>&#39;set ccols 41 -1&#39;<br>&#39;d pval&#39;<br><br></div><div>When I use &#39;set gxout shaded&#39;, the pattern fills on top of the existing shading, as in the GrADS website example. However, when I use &#39;set gxout grfill&#39;, the initial fill disappears in areas without pattern fill. I&#39;ve attached images showing the differences.<br></div><div><br>Any ideas? I know it&#39;s not a major issue, but I often look at coarse spatial resolution datasets, and I like the grfill setting to present where the gridbox boundaries are exactly.<br></div><div><br></div><div>Thanks,<br></div> Andrew<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 6:42 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Andrew,<br></div>Can you clarify your question please? What exactly do you mean by &quot;tiling&quot;?<br><br></div>The difference between grfill and shaded is that shaded color shades between (smoothed) contours drawn by the software, giving your fields a nicer smoother look, whereas grfill just uses color shades to fill by grid box only, with no contour lines drawn to serve as boundaries for color areas. For very high resolution grids, you won&#39;t really see much, if any, difference between a field displayed using grfill and that field displayed using shaded. It only really shows up for coarser grids.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 26, 2016 at 10:58 AM, Andrew Friedman <span dir="ltr">&lt;<a href="mailto:andfried@gmail.com" target="_blank">andfried@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi GrADS users,<br><br></div><div>I am trying to tile areas of significance using grfill. However, I have noticed that tiling seems to behave differently with gxout set to grfill v. shaded. When gxout is set to grfill, all values that are not tiled are return to the background. Does anyone know a work-around for this?<br></div><div><br></div>Thanks, Andrew<br></div></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>