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

Home » Public Forums » archive » precisely specifying size of MAP
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
precisely specifying size of MAP [message #8617] Tue, 25 March 1997 00:00
Bruce Macintosh is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with array concatenation
Next Topic: MRI image segmentation

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

Current Time: Wed Oct 08 17:39:14 PDT 2025

Total time taken to generate the page: 0.00533 seconds