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

Home » Public Forums » archive » Re: difference between icontour and contour?
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: difference between icontour and contour? [message #50687] Thu, 12 October 2006 19:56
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
EArnold writes:

> I would like to make a contour plot with the north pole as center of
> the map. The data and coordinates are stored in three fields,
> f_data(i,j), f_longitude(i,j), f_latitude(i,j).
>
> First I set the projection via
> map_set, /stereographic, 90, 0, /isotropic, limit = [0, -180, 90, 180],
> /grid, /continents, latdel=20, londel=20
>
> followed by the contour-plot
> contour, f_data, f_longitude, f_latitude, /fill, /over
>
> The result is correct, as expected. The field is displayed, including
> the pole.

Well, except the colors are wrong and the contours
are not exactly where they are suppose to be, since you
used the FILL keyword and not the CELL_FILL keyword that
is required for contours on map projections:

http://www.dfanning.com/color_tips/fill_colors.html

I don't know anything about the rest of your question,
sorry. But I thought you might want to know about this. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Return UNDEFINED from a function
Next Topic: Re: Findfile in large directories

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

Current Time: Fri Oct 10 10:21:30 PDT 2025

Total time taken to generate the page: 1.36029 seconds