I actually didn't know I can do that. :) This would be a great help. Thanks.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sherlock, Ric Sent: Monday, April 21, 2008 5:31 PM To: General forum Subject: RE: [Jgeneral] RE: n00b plotting 2 lines By the way did you know you plot functions too! plot 0 9;'1 + 0.5*y`_2 + 0.5*y' http://www.jsoftware.com/jwiki/Plot/Function --- Alex Rufon wrote: > Thanks. I got it. I was able to plot 2 parallel lines with your > example.:) > h1=. i. 10 > y1=. 1 + 0.5 * h1 NB. y=0.5X+1 > y2=. _2 + 0.5 * h1 NB. -3x+6y=-12 > (h1,:h1);(y1,:y2) > +-------------------+---------------------------------+ > |0 1 2 3 4 5 6 7 8 9| 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5| > |0 1 2 3 4 5 6 7 8 9|_2 _1.5 _1 _0.5 0 0.5 1 1.5 2 2.5| > +-------------------+---------------------------------+ > plot (h1,:h1);(y1,:y2) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
