[Thread Prev][Thread Next][Index]

aline




Dear Ferret Users

I have 4 arrays: x1,y1,x2 and y2 and want draw several lines: i.e.

from x1(1),y1(1) to x2(1),y2(1) and so on

I've tried using aline:

repeat/i=1:50 (ppl aline 1,x1[i=`i`],y1[i=`i`],x2[i=`i`],y2[i=`i`]) 

But this runs through the routine without plotting anything - yet when I
type in the actual values of x1,y1,x2,y2 as a test, the appropriate line
gets plotted on screen. 

Any thoughts on what might be going wrong - am I using incorrect syntax?
Typing list x1[i=1] etc returns the appropriate values.

Thanks for your time
Richard



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement