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

Home » Public Forums » archive » cell_fill for Contour (IDL 5)
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
cell_fill for Contour (IDL 5) [message #9741] Thu, 14 August 1997 00:00 Go to next message
hcp is currently offline  hcp
Messages: 41
Registered: August 1995
Member
I just came back from my vacation to find that
our system manager has just upgraded IDL from version 4 to version 5.0. I
find that everything works O.K. so far except that the /cell_fill keyword
to the contour routine has disappeared from the documentation and,
although it does not cause an error, it merely does the same thing as the
/fill keyword. This means that open contours are not filled correctly; a
great problem on map projections.

This may seem a small gripe, but I have written quite a lot of code which
relies on the /cell_fill keyword to produce filled contour plots on map
projections. It was slower than /fill but very reliable. Is /cell_fill
going to come back in future upgrades, I ask myself. The only
information I can find in the documentation is as follows:

<quote>
Contours that are not closed can not be filled because their interior and
exterior are undefined. Contours created from data sets with missing data
may not be closed; many map projections can also produce contours that are
not closed. Filled contours should not be used in these cases.
</quote>

This is a bit annoying when the previous version had a perfectly good
keyword to do exactly what this version tells you that you shouldn't do.

Has anyone else run into this, and what did they do about it? I'm sorry if
this has been hashed over in great detail last week while I have
been asleep in a deckchair.

Hugh

--

============================================================ ==============
Hugh C. Pumphrey | Telephone 0131-650-6026
Department of Meteorology | FAX 0131-662-4269
The University of Edinburgh | Replace 0131 with +44-131 if outside U.K.
EDINBURGH EH9 3JZ, Scotland | Email hcp@met.ed.ac.uk
OBDisclaimer: The views expressed herein are mine, not those of UofE.
============================================================ ==============
Re: cell_fill for Contour (IDL 5) [message #9830 is a reply to message #9741] Fri, 15 August 1997 00:00 Go to previous message
Simon Moore is currently offline  Simon Moore
Messages: 2
Registered: August 1997
Junior Member
H C Pumphrey <hcp@newsread.ed.ac.uk> wrote in article
<5sva92$hob@scotsman.ed.ac.uk>...

> I just came back from my vacation to find that
> our system manager has just upgraded IDL from version 4 to version 5.0. I
> find that everything works O.K. so far except that the /cell_fill keyword
> to the contour routine has disappeared from the documentation and,
> although it does not cause an error, it merely does the same thing as the
> /fill keyword. This means that open contours are not filled correctly; a
> great problem on map projections.

[snip]

RSI have just released an update to IDL 5 - version 5.0.2. To quote from
their web page:

"The CELL_FILL keyword has been returned to the CONTOUR procedure.
An explanation of CELL_FILL is included in the online version of the
CONTOUR documentation.
A problem with the FILL keyword to CONTOUR has also been corrected."

Check out http://www.rsinc.com/tipoweek/main.html for more details.

I presume it is now shipping...

--
Simon Moore Electric Propulsion, DERA, United Kingdom

Opinions are my own and do not necessarily reflect those of my employer
If you wish to reply via e-mail use: S_N_Moore@scs.dra.hmg.gb
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDLgrVolume background color
Next Topic: look at this

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

Current Time: Sun Oct 12 12:04:34 PDT 2025

Total time taken to generate the page: 0.09226 seconds