[Thread Prev][Thread Next][Index]

[ferret_users] i index from X



Dear user

I like to know the i index from x value.

This is a simple exmaple I did.

define axis/x=290:315:`25/570`/unit=degree xaxis
define grid/x=xaxis xgrid
let xx=x[g=xgrid]
list xx[i=570]
let ii=i[g=xgrid]
list ii[x=315]


I expected 570 by "list ii[x=315]", but the return is 571 
even though I got 315 by "list xx[i=570]".

Is this wrong way to get i index from X. Any other simpler
ways?

Best Regards,

Takaya Namba













--------------------------------------
STOP HIV/AIDS.
Yahoo! JAPAN Redribbon Campaign 2005
http://pr.mail.yahoo.co.jp/redribbon/

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement