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

Home » Public Forums » archive » contour fill problem
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
contour fill problem [message #13447] Wed, 11 November 1998 00:00 Go to next message
Sang-Heon Shim is currently offline  Sang-Heon Shim
Messages: 11
Registered: October 1998
Junior Member
Dear All,
I realized that whenever I make contour plot with color fill option the
lowest level filled with black instead of color I assigned. What is
wrong with this?
Thanks in advance.
DAN
sangshim@geo.princeton.edu
Re: contour fill problem [message #13491 is a reply to message #13447] Mon, 16 November 1998 00:00 Go to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
Sang-Heon Shim <sangshim@geo.princeton.edu> writes:
> I realized that whenever I make contour plot with color fill option the
> lowest level filled with black instead of color I assigned.

IDL fills from the lowest level up to the next, and so on. If you want to
fill below the lowest, you have to specify an artificially low level, eg
levels=[-1e10,levels]

I think this is silly: you should be able to specify how you want the fill done:
just between the levels you give, below the lowest, above the highest, whatever.

Sometimes you need to add /cell, too.

-W

---
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Talking with my C data
Next Topic: Object Tree

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

Current Time: Fri Oct 10 04:44:43 PDT 2025

Total time taken to generate the page: 0.63565 seconds