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 #82205] Sun, 02 December 2012 13:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Alain writes:

> 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

I'm detecting a pattern here with function graphics.
I try something and can't get it to work. I ask for
help. No one helps me. I muck around for several weeks
and finally cobble something together that works.
I write an article to save everyone else the trouble
of the two week muck-about, and within seconds someone
writes in with the correct answer!

I guess I should probably think about writing the
articles sooner. :-(

Thanks for the help!

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.")
[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: Fri Oct 10 12:50:42 PDT 2025

Total time taken to generate the page: 1.52801 seconds