<div dir="ltr">Thank you all for the help. The -1 transparent color is exactly what I was looking for.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 3, 2014 at 8:06 AM, Goodson,Ron [Edm] <span dir="ltr"><<a href="mailto:Ron.Goodson@ec.gc.ca" target="_blank">Ron.Goodson@ec.gc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div dir="ltr" align="left"><span lang="en-ca"><span><font color="#0000ff" face="Arial">totally agree. Maskout reflects the size
of the grid (as you note) .. while the contouring interpolates. But, I'm
old so the maskout method is still in many of my scripts from long ago... all of
which are for quick looks of the data rather than public (or publication)
output.</font></span></span></div>
<div dir="ltr" align="left"><span lang="en-ca"><span><font color="#0000ff" face="Arial"></font></span></span> </div>
<div dir="ltr" align="left"><span lang="en-ca"><span><font color="#0000ff" face="Arial">ron</font></span></span></div><br>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>
[mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>On Behalf Of </b>Stephen
McMillan<br><b>Sent:</b> March 3, 2014 10:37 AM<div><div class="h5"><br><b>To:</b> GrADS Users
Forum<br><b>Subject:</b> Re: [gradsusr] Shaded plot only for values above a
minmum<br></div></div></font><br></div><div><div class="h5">
<div></div>
<div dir="ltr">Hey Ron,
<div>From my experience, unless you have a relatively high resolution grid, your
maskout method tends to produce a jagged edge. I think the "fancy dancy"
method does a much better job, producing fairly smooth edges even on the coarser
grids. I've attached a sample overlaying the four cloud cover layers in
the GFS model output, using the first method that Jennifer mentioned ('set gxout
shaded2'). I'm using version 2.0.1.oga.1. Of course, whatever
works for you...</div>
<div>Stephen Mc</div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Mar 3, 2014 at 12:20 PM, Goodson,Ron [Edm] <span dir="ltr"><<a href="mailto:Ron.Goodson@ec.gc.ca" target="_blank">Ron.Goodson@ec.gc.ca</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>If not using the
new fancy-dancy transparent colour stuff ...</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>I just use
maskout for this .. eg .. plotting precip that as a coloured shaded
field I was plotting over another shaded field such as outgoing longwave
radiation (stand-in for clouds) using only grayshades.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>In your
case</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>mymask = var
-9</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>d
maskout(var,mymask)</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>ron</span></font></div>
<div> </div><br>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>On Behalf Of </b>Thomas
Robinson<br><b>Sent:</b> February 28, 2014 7:56 PM<br><b>To:</b> GrADS Users
Forum
<div><br><b>Subject:</b> Re: [gradsusr] Shaded plot only for values above a
minmum<br></div></font><br></div>
<div>
<div>
<div></div>
<div dir="ltr">Thank you Jeff. I actually have a plot of terrain, and I
would like to plot 'var' on top of that with the terrain in the background.
So I really want to make a shaded plot overlaid on a shaded plot.
Just using a background value won't work for that. It there any
way to just eliminate the lower values?
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Feb 28, 2014 at 1:13 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">use the ccols command to manually set the color levels.
If you have N contour values, you need N+1 colors, the first one in
the list is the color corresponding to values below the lowest contour.
Set that to 0 (background), so that it will appear not to color values
below your minimum contour value. See the <a href="http://www.iges.org/grads/gadoc/colorcontrol.html" target="_blank">controlling colors</a> section of the documentation index
for more information.
<div><br>Jeff Duda</div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">
<div>
<div>On Fri, Feb 28, 2014 at 4:58 PM, Thomas Robinson <span dir="ltr"><<a href="mailto:ter@hawaii.edu" target="_blank">ter@hawaii.edu</a>></span>
wrote:<br></div></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div>
<div dir="ltr">Aloha Grads Users,
<div><br></div>
<div>I am trying to make a shaded plot where values only show up if they
are greater than 9. So I do:</div>
<div><br></div>
<div>set clevs 9 10 11 12 13 14 15</div>
<div>d val</div>
<div>cbarn</div>
<div><br></div>
<div>That works great, but it fills in purple (default) for everything
below 9 which is most of the plot. Is there a way to turn off
coloring in the areas below 9? </div>
<div><br></div>
<div>Thanks, </div>
<div>Tom<span><font color="#888888"><br clear="all">
<div><br></div>-- <br>
<div dir="ltr">Tom Robinson<br>President - Graduate Student Organization
<br>Chair - Student Athletic Fee Committee <br>Graduate Student -
Department of
Meteorology<br><br></div></font></span></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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all">
<div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University
of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of
Storms<br></font></span></div><br>_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all">
<div><br></div>-- <br>
<div dir="ltr">Tom Robinson<br>President - Graduate Student Organization
<br>Chair - Student Athletic Fee Committee <br>Graduate Student - Department
of
Meteorology<br><br></div></div></div></div></div></div><br>_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div><pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
</pre></div></div></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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Tom Robinson<br>President - Graduate Student Organization <br>Chair - Student Athletic Fee Committee <br>Graduate Student - Department of Meteorology<br>
732-718-2323<br></div>
</div>