Re: MAP_GRID and MAP_CONTINENTS question ? [message #74277] |
Fri, 07 January 2011 12:42  |
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  |
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
|
|
|