[gradsusr] Shaded plot only for values above a minmum

Jeff Duda jeffduda319 at gmail.com
Fri Feb 28 23:12:35 EST 2014


I think if you're using version 2.0.2+ you can use alpha values to make the
color below the bottom level transparent instead of matching the
background.  Just display the underlying field first.
Jeff


On Fri, Feb 28, 2014 at 8:55 PM, Thomas Robinson <ter at hawaii.edu> wrote:

> 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?
>
>
> On Fri, Feb 28, 2014 at 1:13 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
>> 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 controlling colors<http://www.iges.org/grads/gadoc/colorcontrol.html> section
>> of the documentation index for more information.
>>
>> Jeff Duda
>>
>>
>> On Fri, Feb 28, 2014 at 4:58 PM, Thomas Robinson <ter at hawaii.edu> wrote:
>>
>>> Aloha Grads Users,
>>>
>>> I am trying to make a shaded plot where values only show up if they are
>>> greater than 9.  So I do:
>>>
>>> set clevs 9 10 11 12 13 14 15
>>> d val
>>> cbarn
>>>
>>> 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?
>>>
>>> Thanks,
>>> Tom
>>>
>>> --
>>> Tom Robinson
>>> President - Graduate Student Organization
>>> Chair - Student Athletic Fee Committee
>>> Graduate Student - Department of Meteorology
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Graduate research assistant
>> University of Oklahoma School of Meteorology
>> Center for Analysis and Prediction of Storms
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Tom Robinson
> President - Graduate Student Organization
> Chair - Student Athletic Fee Committee
> Graduate Student - Department of Meteorology
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140228/52058412/attachment.html 


More information about the gradsusr mailing list