Re: Function Graphics Map Projection Woes [message #77669 is a reply to message #77668] |
Mon, 19 September 2011 09:10   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
>> Can anyone explain to me why this code only shows
>> the Northern hemisphere?
>>
>> data = Dist(200)
>> imgObj = Image(data, limit=[-90,-180,90, 180], $
>> grid_units=2, $
>> map_projection='Equirectangular')
>
> You need either the X and Y parameters or the IMAGE_DIMENSIONS and
> IMAGE_LOCATIONS keywords to IMAGE.
Alright, here is another thing I don't understand,
I guess. This is not as big a problem, now that
I finally got my longitude and latitude vectors
to be accepted, but how should the IMAGE_DIMENSIONS
keyword be used if I *don't* have lon/lat vectors?
In other words, if I set the IMAGE_DIMENSIONS
vector to the actual dimensions of my image, I
find a tiny, little image over in the corner of
my map projection. So, OK, I can set them to something
larger than that, but to what? What is appropriate
in this case? I tried, for example, to set the
Image_Dimensions to [720,360]. This puts the image
on the full map projection, but the image values
are terribly distored. The original image is [97,73].
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|