| Re: map projection border/frame [message #54273] |
Tue, 29 May 2007 16:39 |
Kenneth P. Bowman
Messages: 585 Registered: May 2000
|
Senior Member |
|
|
In article <1180477038.177983.153540@u30g2000hsc.googlegroups.com>,
Matt <mmsmith1978@gmail.com> wrote:
> when i set my projection and project an image into my window i get an
> area surrounding my image that looks like a picture frame. the '/
> noborder' keyword appears to control the border line but does not
> eliminate the border space itself. I want to get rid of this space so
> that my projection space starts at pixel 0,0. is there anyway to
> override this setting?
Try this
IDL> window
IDL> !p.position = [0.0, 0.0, 1.0, 1.0]
IDL> map_set, /grid, /continents, /isotropic, /noborder
Note that if the aspect ratio of the map does not match the
aspect ratio of the window, it will only be flush on two
sides.
For a polar map, for example, this works
IDL> window, xsize=400, ysize=400
IDL> !p.position = [0.0, 0.0, 1.0, 1.0]
IDL> map_set, 90.0, /grid, /continents, /isotropic, /noborder, $
/azimuthal, limit = [0.0, 0.0, 90.0, 360.0]
Ken Bowman
|
|
|
|