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

Home » Public Forums » archive » Re: latiude/ longitude legend outside the map
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: latiude/ longitude legend outside the map [message #29347] Wed, 13 February 2002 07:40 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Marco Trommler wrote:
> I would like to generate a Map with grid lines and a legend with the values
> of the latitude or longitude of the grid lines outside of the image (aligned
> to the map border)
>
> WINDOW, ...
> MAP_SET .....,,/cylindrical, xmargin=3,ymargin=3
> MAP_GRID, LABEL=2, LATDEL=5, LONDEL=10, LONLAB=reg.latmin[r]
>
> prints the values of the longitude on the min. latitude grid line of my map
> (at the lower border but inside the map)
>
> MAP_GRID, LABEL=2, LATDEL=5, LONDEL=10, LONLAB=reg.latmin[r]-0.5
>
> should print the values with space 0.5 under the lowest border, but the
> program doesn't make it..... Where is the mistake???

Try using the MAP_GRID keyword BOX_AXES:

map_set, 43, -89.5, scale=10e6, $
/usa, xmargin=[3, 3], ymargin=[3,3]
map_grid, latdel=2, londel=2, charsize=0.75, /box_axes

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Object method compiling
Next Topic: Re: Object/Direct Graphics Question

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

Current Time: Sun Oct 12 04:18:40 PDT 2025

Total time taken to generate the page: 1.59731 seconds