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

Home » Public Forums » archive » plotting tool
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: plot [message #7826 is a reply to message #7517] Fri, 10 January 1997 00:00 Go to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Mark A. Collier wrote:
>
> 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

<snip>

Try this sample code...

data = dist(46) ; create data
lons = indgen(46)*8. ; longitudes
lats = indgen(46)*4 - 90. ; latitudes
colors = indgen(25)+161 ; or whatever works for your color table

y1 = total(where(lats eq min(lats))) ; SH point
y2 = max(where(lats le 0)) ; Nearest-Equatorial point

map_set, -90, 0, 0, /stereo, limit=[-90,-180,0,180], /iso
contour, data(*,y1:y2), lons, lats(y1:y2), nlevels=25, /follow, /over
contour, data(*,y1:y2), lons, lats(y1:y2), nlevels=25, c_colors=colors,
$
/cell_fill, /over
map_continents
map_grid, latdel=30, londel=30, glinethick=1, lonlab=0


This is not a "perfect" plot, but those are VERY HARD to come by
using IDL mapping routines and with the cheesy contour program they
provide. Very unlike NCAR Graphics, at at 10 times the price!!
What a bargain. ;-(

Analysis? Yes.
Visualization? Maybe.

--
Andrew F. Loughe | afl@cdc.noaa.gov
University of Colorado, CIRES | http://cdc.noaa.gov/~afl
Campus Box 449 | phn:(303)492-0707 fax:(303)497-7013
Boulder, CO 80309-0449 | "If you are going to be blue, be bright
blue!"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New IDL Web resource
Next Topic: two-yaxes

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

Current Time: Fri Oct 10 03:13:48 PDT 2025

Total time taken to generate the page: 1.68084 seconds