comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Contour plots / ps files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Contour plots / ps files [message #22061] Sat, 14 October 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Spherical Harmonics.
Next Topic: How to do efficient overlay with IDL ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:43:00 PDT 2025

Total time taken to generate the page: 0.00553 seconds