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

Home » Public Forums » archive » x/y margin from map_set to plot position and cgimage
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: x/y margin from map_set to plot position and cgimage [message #85690 is a reply to message #85689] Tue, 27 August 2013 07:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AMS writes:

> That's what I have switched to for postscript output (and using the /overplot keyword to locate my image), although I am finding that my borders are one grid cell out from where they should be (relative to e.g. coastal outlines), so I am digging into map_image to see where I have gone wrong...

I did notice this morning that you can use the POSITION keyword with
cgMap_Set. Setting the same position for your map and your image should
align things perfectly.

cgMap_Set, Position=pos, ...
cgImage, Postion=pos, ...
cgMap_Continents, ...

Works on the graphics display and in PostScript identically. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: programmatically compile a procedure without a .pro extension
Next Topic: create a colorbar for negative and positive values

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

Current Time: Wed Oct 08 17:27:37 PDT 2025

Total time taken to generate the page: 0.00382 seconds