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

Home » Public Forums » archive » Re: Function Graphics Map Projection Woes
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: Function Graphics Map Projection Woes [message #77669 is a reply to message #77668] Mon, 19 September 2011 09:10 Go to previous messageGo to previous message
David Fanning is currently offline  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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.1 Graphics Window Rearrange Content
Next Topic: Good IDL 8 guide?

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

Current Time: Fri Oct 10 16:31:21 PDT 2025

Total time taken to generate the page: 0.96122 seconds