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

Home » Public Forums » archive » Re: cursor,xi,yi,/normal
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: cursor,xi,yi,/normal [message #61083 is a reply to message #61081] Thu, 03 July 2008 06:26 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Jul 3, 2:16 pm, d.po...@gmail.com wrote:
>
> Chris
> thanks your cod works well.but which one is the output coordinate?
> i put
> print,array
> but there is some error
> any help?
> D

Save the entire chunk of code as 'grapharray.pro', compile it and call
it as an IDL function:
Output = Grapharray(Xvalues, Yvalues)

When the program returns (after you right-click in the window), your
array will be stored in the Output variable.

Also, this line:
Diffs = XDiffs + YDiffs

Should probably read:
Diffs = SQRT(XDiffs^2 + YDiffs^2)

Good luck,
Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: image question (maybe stupid one)
Next Topic: aquamacs 1.4 & IDLWAVE

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

Current Time: Thu Oct 09 23:25:20 PDT 2025

Total time taken to generate the page: 0.96180 seconds