[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlaying filled contour plots
- Subject: Re: Overlaying filled contour plots
- From: Martin Schultz <martin.schultz(at)dkrz.de>
- Date: 01 Aug 2001 14:55:06 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of Hamburg -- Germany
- References: <3B61816D.52170F94@is2.dal.ca>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:25938
Hi Simon,
I once did something like this using the MIN_VALUE keyword. Basically, the
idea is to "blank" out all values from each of the contour data sets that you
don't want to see, by setting them to something (NaN or -9.99e30 or so), then
call contour with /Overplot, min_value=-8.e30
Martin
Simon de Vet <sdevet@is2.dal.ca> writes:
> I have two sets of data for a series of points. One set indicates the
> values of a certain parameter, the others are the values of another
> parameter.
>
> Is there a way to overlay two filled contour plots? I'd like, for
> example, to have one of the values plotted in red, the other in blue,
> with purple (or another colour) where they overlap. These contour maps
> have two levels each (on and off), so I don't need to worry about shades
> of red or shades of blue. I just need conours for four states: both on
> (purple), both off (white), one on other off and vice versa (red and
> blue).
>
> Any ideas?
>
>
> -- Simon
>
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[