<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN lang=en-ca><SPAN class=338370218-03032014><FONT
color=#0000ff size=2 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 class=338370218-03032014><FONT
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN lang=en-ca><SPAN class=338370218-03032014><FONT
color=#0000ff size=2 face=Arial>ron</FONT></SPAN></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <B>On Behalf Of </B>Stephen
McMillan<BR><B>Sent:</B> March 3, 2014 10:37 AM<BR><B>To:</B> GrADS Users
Forum<BR><B>Subject:</B> Re: [gradsusr] Shaded plot only for values above a
minmum<BR></FONT><BR></DIV>
<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 class=h5>
<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">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></BODY></HTML>