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

Home » Public Forums » archive » Re: map projection border/frame
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: map projection border/frame [message #54273] Tue, 29 May 2007 16:39
Kenneth P. Bowman is currently offline  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
[Message index]
 
Read Message
Previous Topic: map projection border/frame
Next Topic: Re: Using .sav files outside of IDL

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

Current Time: Mon Oct 27 05:15:24 PDT 2025

Total time taken to generate the page: 0.02796 seconds