[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contour plots / ps files



simon@nonsense.co.uk (simon@nonsense.co.uk) writes:

> When I create postscript files of filled contour plots using:
> 
> IDL> set_plot, 'ps'
> IDL> contour, gradav, depth, opac, /irregular, /fill, xrange=[-70,10],
> xstyle=1
> 
> then the postscript file has 'filled' the area with the highest points
> the same colour as the area with the lowest by leaving both blank.
> How can I force idl to colour both area differently from the background?

Here are a couple of articles that explain the problem
and demonstrate how to fix it:

   http://www.dfanning.com/tips/contour_hole.html
   http://www.dfanning.com/tips/contour_fill.html
   http://www.dfanning.com/tips/nlevels.html

Cheers,

David

-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155