From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 20 11:30:23 1999 Subject: simple question about plotting From: "John W. Eaton" To: Vitaliy A Repin Cc: help-octave at bevo dot che dot wisc dot edu Date: Wed, 20 Jan 1999 11:27:55 -0600 (CST) On 20-Jan-1999, Vitaliy A Repin wrote: | Hello! | | What should I do if I want to plot special function, such as besselj(1,x)? | Should I do something like the following: | | while (x<8) | Y(i)=besselj(1,x); | X(i)=x; | x=x+.1; | i=i+1; | endwhile; | | plot (X,Y) | | ? x = (0:0.1:8)'; # or use linspace() plot (x, besselj (1, x)); jwe