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

Home » Public Forums » archive » Re: wrong results...
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: wrong results... [message #43798] Mon, 02 May 2005 14:34 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1cdfe74036bd65989899e4@news.frii.com...
> elias writes:
..
> but if your data goes from -180 to 180,
> and you want it to go from 0 to 360, you will add 180 to each
> value, not 360. :-)

While that does indeed work, I'd guess the OP was not clear
in their intentions. For longitude, you would want to leave the
0 to 180 range as is, and change the -180 to 0 data to fall in the
range 180 to 360 by adding 360 to it.

i.e. -1 should become 359.

One can add 360 to longitude and "not change anything " since
they are degrees.

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idlgrcontour missing contours
Next Topic: Tricky data-summing question

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

Current Time: Wed Oct 08 18:43:13 PDT 2025

Total time taken to generate the page: 0.00232 seconds