Brian Schott noticed there is no z ! I "simplified" and removed it so use:
Plot t;sin t instead of (plot t;z)
Since it found a z in plot, there was no error message.
Thanks for being more awake than I was. Linda
-----Original Message-----
From: Programming [mailto:[email protected]] On Behalf
Of Linda A Alvord
Sent: Sunday, February 26, 2017 3:57 AM
To: [email protected]
Subject: [Jprogramming] A picture of two circles
Here's a little demo to show you that there are really two circles in the final
plot.
The second plot erases the previous plot, so look at the code line by line.
load 'plot'
do=: 13 :'({.y)+(i.{:>:y)*(--/}:y)%{:y'
t=:do 0,(o.4),1000
sin=:1&o.
plot t;z
cos=:2&o.
plot sin t
plot cos t
'pensize 2;aspect 1'plot t;(sin t);cos t
'pensize 2;aspect 1'plot (sin t);cos t
Time is of the essence. Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm