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

Home » Public Forums » archive » Re: Box Axes with Map Function
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: Box Axes with Map Function [message #82206 is a reply to message #82205] Sun, 02 December 2012 12:35 Go to previous messageGo to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le dimanche 2 décembre 2012 19:35:48 UTC+1, David Fanning a écrit :
> David Fanning writes:
>
>
>
>> I *finally* discovered a way to create box axes with
>
>> the function graphics Map function that are labeled
>
>> in the way we expect box axes to be labeled.
>
>
>
> I've written an article that describes this in
>
> more detail:
>
>
>
> http://www.idlcoyote.com/ng_tips/boxaxes.php
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

I think that you may also draw *only one* map projection, but by adding a second grid to the map:

mp1 = map('Equirectangular', CENTER_LONGITUDE=180, $
POSITION=[0.1,0.1,0.90,0.75], $
LABEL_POSITION = 0, BOX_AXES=1, $
GRID_LATITUDE = 30, GRID_LONGITUDE = 45, $
ASPECT_RATIO=0, LIMIT=[-89.99, 0, 89.99, 360])
mp1['Latitudes'].label_angle=90
mp1['Longitudes'].label_angle=0

grid = MAPGRID( $
LONGITUDE_MIN=0, LONGITUDE_MAX=360, $
LATITUDE_MIN=-90, LATITUDE_MAX=90, $
GRID_LONGITUDE=45, GRID_LATITUDE=30, $
LABEL_POSITION=1)
foreach g,grid.latitudes do g.label_angle=270
foreach g,grid.longitudes do g.label_angle=0

alain.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debugger problems IDL8.2.1
Next Topic: Re: Debugger problems IDL8.2.1

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

Current Time: Mon Oct 13 20:22:22 PDT 2025

Total time taken to generate the page: 3.35852 seconds