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

Home » Public Forums » archive » Map_set limits
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_set limits [message #10469 is a reply to message #10400] Mon, 01 December 1997 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Hi Folks,

I have to admit that I am confused about recent postings
from St�phane Erard and Martin Schultz, who complain about
having to fiddle with the Position parameters to get a
Map_Set command to fit the proper Limits around an image.

In a private communication I asked St�phane to send me
an image and part of his code, which he graciously did.
I've been fooling around with it a little in my "spare"
time. (Please don't tell my wife I am doing this. I am
in hot water already.) In truth, I can't reproduce the
problem. But, on the other hand, I am not absolutely
certain that I can recognize the problem either.

If I position an image in the window in such a way
that it takes up, say, 80% of the window space and then
try to position a map projection on it like this:

Map_Set, /Sin, Limits=theLimits, Position=[0.1,0.1,0.9,0.9]

then in IDL 5 it seems to do this *exactly*. That is to
say, the Map_Set axes are coincident with the edges of
the image. If I now lay a grid on the image, then the
grid *appears* to go exactly where I want it.

What I am unsure about is if the grid is going *exactly*
where it is suppose to go. How would I know? You folks
presumable have some kind of ground point or something
that you know the exact latitude and longitude coordinate
of. If I do the same thing with a data set I am more
familiar with (say, the worldelv.dat data set in IDL), then
it still appears to do the right thing.

In any case, I am all ears. :-)

Cheers,

David

P.S. With respect to Martin's problems with images and
PostScript, I find I always use TVImage (available on
my web page) for positioning images in windows. You can
use the Position keyword with it like you do for a contour
or line plot. The advantage of this is that the routine is
Device independent. It works the same way in PostScript
as it does on the display.

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Subscript sizes
Next Topic: Re: Fresnel Integrals

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

Current Time: Fri Oct 10 08:59:06 PDT 2025

Total time taken to generate the page: 0.55931 seconds