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   |
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.")
|
|
|