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

Home » Public Forums » archive » IDL map_set question
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: IDL map_set question [message #8998 is a reply to message #8907] Wed, 14 May 1997 00:00 Go to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
In article ya023080001305971750250001@news.frii.com, davidf@dfanning.com (David Fanning) instructed:
> Wayne Keith <waynek@spacsun.rice.edu> enquired:

>> I am fairly new to IDL and am having trouble with the map_set function
>> making an orthographic projection.
>> Folowing the
>> reference guide directions for LIMIT I keep getting floating point
>> errors. Can anyone help?

> Polar orthographic? Auh, oh.
> I tried this and didn't get any errors:
> IDL> Map_Set, /Ortho, 90, 0, /Grid, /Cont, Limit=[30,-180, 90, 180], /Label

This works for me too (of course it does, it comes from DF ;-) You might
want to add /iso, too).

However, you problem with FP errors is familiar... I have a slight feeling
that is sometimes occurs when you get the SWNE the wrong way round in the
limit variable... but I can't reproduce it just now...

...Haha, yes I can. Actually it seems to occur if you make S and N
the same. Look:

wmc> Map_Set, /Ortho, 90, /Grid, /Cont, Limit=[80,30, 80, 90], /Label,/iso
% Program caused arithmetic error: Floating illegal operand

However, this is not a sensible thing to do...

- William
[Message index]
 
Read Message
Read Message
Previous Topic: dynamic bit not set
Next Topic: Spy people on the Net

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

Current Time: Sun Oct 12 17:27:10 PDT 2025

Total time taken to generate the page: 2.32081 seconds