plot(f, x1, x2, n, options)

Draws a plot of function f(x). [x1,x2] is the domain and n is the number of segments to draw. f may be user defined or a library function.

plot(M,i,j, options)

Draws the values in column i versus the values of column j of matrix M.


See also plot3D 

More information More information

Options list Options list


Example


f(x) = x*sin(x)

f(x) = x*sin(x)

plot( f, 0, 2*pi, 100, "red" )