precisely specifying size of MAP [message #8617] |
Tue, 25 March 1997 00:00 |
Bruce Macintosh
Messages: 5 Registered: March 1997
|
Junior Member |
|
|
Is there any way to *precisely* specify the size of a map
projection?
I have ground-based images of various solar-system objects. I'd like
to overlay a lat/long grid on them; using map_set (and possibly
map_grid) seems much easier than drawing the grid manually. However,
in spite of my best efforts with the POSITION keyword the map always
comes out slightly smaller than I want to; I have to print a copy out,
physically measure the map, and then adjust the image size accordingly.
For example,
set_plot,'ps'
device,xsize=5,ysize=5,/inches
map_set,0.0,0.0,/ortho,position=[0.2,0.2,0.8,0.8],xmargin=0, ymargin=0,$
/isotropic,/noborder
map_grid
device,/close
$lpr idl.ps
produces a globe somewhat more than 1/16" too small. If I hadn't
specified /noborder, the outer box surrounding the map would have
been 3" on a side...what I want is a way to get rid of the space between
the map and that border. I know I could just measure the difference,
but it seems to vary somewhat with different devices/map sizes/etc.
Bruce
|
|
|