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

Home » Public Forums » archive » plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
plot [message #7831] Fri, 10 January 1997 00:00 Go to previous message
collier is currently offline  collier
Messages: 2
Registered: January 1997
Junior Member
Hi there,

IDL is new to me. Recently I tried to generate a filled contour plot
with labels on southern hemisphere by using map_set and contour
(I am using Idl v4.0.1 on a sgi workstation) such as the following. By
default without c_colors, Idl will fill the areas with less grid values by
darker grey colors, with larger values lighter. But idl doesn't fill
all the hemisphere leaving many parts of area white. This is confusing
and misleading, since white filling (actually some of them not filled at all)
means large grid values. I also tried by specifying c_colors to all
contours (see below) but to no avail. For the same data, by using
NCAR graphics one can produce a very good smoothly, continusly shaded,
labeled contours on the hemisphere.

Can anybody tell me how to do this by Idl? (I like using Idl, because
it has good mathematical and statistical functions).

If I change /fill into /cell_fill in the fillowing code as suggested by
the User's Guide P19-14, there will be no filling at all, why?

The max. Nlevels is 29. is there a way of increasing this?


; use Polar Stereographic Projection
!P.FONT=0
map_set, -90,0,0, /stereo,limit=[-90,-180,0,180],title=tit
; contour, dats,los,las,nlevels=25,c_charsize=1.0,/overplot,/fill
contour, dats,los,las,nlevels=25,c_charsize=1.0,/overplot,/fill, $
c_colors=[7*255,240,210,180,150,120,90,12*60]
contour, dats,los,las,nlevels=25,c_charsize=1.0,/follow,/overplot
map_continents, mlinethick=2
map_grid, latdel=30,londel=30,glinethick=2,lonlab=0


I will be very grateful if someone can help me on these questions.
Thanks in advance.

Mozheng Wei
--------------------------------------------------
CSIRO Division of Atmospheric Research
PMB 1, Aspendale
Victoria 3195, Australia

Voice: +61-3-9239-4415; Fax: +61-3-9239-4444
E-mail: mzw@dar.csiro.au
--------------------------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot
Next Topic: call_external

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

Current Time: Wed Oct 08 19:03:47 PDT 2025

Total time taken to generate the page: 0.00502 seconds