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

Home » Public Forums » archive » How to calculate the abscissa values for the given vertical values
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to calculate the abscissa values for the given vertical values [message #68136] Mon, 05 October 2009 01:56
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
Hi, all.
I want to calculate the abscissa values for the given vertical values.

For example,
x = findgen(1000)/1000*4*pi
y = cos(x)
I want to get the abscissa values for y=0.
For this example, the results shoule be [!pi/2, 3*!pi/2, 5*!pi/2, 7*!
pi/2].
But how can I get it by IDL codes?

Best wishes,
jdu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: problem computing area
Next Topic: Re: How to calculate the abscissa values for the given vertical values

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

Current Time: Wed Oct 08 19:36:10 PDT 2025

Total time taken to generate the page: 0.00546 seconds