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

Home » Public Forums » archive » Display and Navigate Image in IDL 8.2
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: Display and Navigate Image in IDL 8.2 [message #81361 is a reply to message #81350] Tue, 11 September 2012 08:03 Go to previous messageGo to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le mardi 11 septembre 2012 16:24:14 UTC+2, David Fanning a écrit :

Several things:

1) by OVERLAY, I mean that both the image and the grid should be drawn at the same position in the window (through CURRENT and POSITION keywords).

2) I found that keywords LONGITUDE/LATITUDE_MAX/MIN have same effect as LIMIT. You should use only one of them !

3) where your values "LONGITUDE_MIN=-105.18, LATITUDE_MIN=40.54" are coming from ? Please refer to my previous (saturday) post, for the recovery of the right (?) values.

4) I guess that your code should be:

img = IMAGE(googleimage, POSITION=[0.05,0.15,0.95,0.95], DIMENSIONS=[700,700])

mp = Map('Mercator', $
;set the overall projection
ELLIPSOID='WGS 84', CENTER_LONGITUDE=clon, $
TRUE_SCALE_LATITUDE=0d, $
;set the grid limits (you could use LIMIT too)
LATITUDE_MIN=40.521578, LATITUDE_MAX=40.678329, $
LONGITUDE_MIN=-105.20283, LONGITUDE_MAX=-104.99717, $
;set the grid appearance
GRID_LONGITUDE=1./20, GRID_LATITUDE=1./30, LINESTYLE=1, $
LABEL_POSITION=0, BOX_AXES=1, BOX_ANTIALIAS=1, $
;put the grid at the right place in the current window
POSITION=[0.05,0.15,0.95,0.95], /CURRENT)

Cheers,
Alain.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Add a colorbar in a filled contour
Next Topic: PLOT() function THICK keyword in v8.2 just a guideline?

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

Current Time: Fri Oct 10 14:46:44 PDT 2025

Total time taken to generate the page: 0.40131 seconds