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

Home » Public Forums » archive » Re: MAP_GRID and MAP_CONTINENTS question ?
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: MAP_GRID and MAP_CONTINENTS question ? [message #74277] Fri, 07 January 2011 12:42 Go to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I can answer my first question : I could read the shape files from my
IDL distribution in /usr/local/itt/idl/resource/maps/shape/ and then
plot them using IDLgrPolylines.
I hope in IDL 8 is easier than that.

nata
Re: MAP_GRID and MAP_CONTINENTS question ? [message #74408 is a reply to message #74277] Mon, 10 January 2011 15:41 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Jan 7, 1:42 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> I can answer my first question : I could read the shape files from my
> IDL distribution in /usr/local/itt/idl/resource/maps/shape/ and then
> plot them using IDLgrPolylines.
> I hope in IDL 8 is easier than that.
>
> nata

Hi nata,

The direct graphics map_continents and map_grid procedures are
unchanged in IDL 8.0. However, in IDL 8.0/8.0.1 we have new Map(),
MapGrid(), and MapContinents() functions which produce much nicer
looking maps. Here's an example of the syntax:

; Define a map of Europe.
map = MAP('STEREOGRAPHIC', FILL_COLOR = 'Light Blue', $
LIMIT = [30.0, -15.0, 68.0, 55.0])
; Add the country outlines and fill color.
mc = MAPCONTINENTS(/COUNTRIES, FILL_COLOR='beige')
; Add the rivers.
rivers = MAPCONTINENTS(/RIVERS, COLOR='blue')

Hope this helps.
Cheers,
Chris
ITTVIS
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: FINDFILE problems IDL 8 LINUX
Next Topic: using xCode on the Mac to build a DLM

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

Current Time: Fri Oct 10 09:10:46 PDT 2025

Total time taken to generate the page: 0.96081 seconds