home *** CD-ROM | disk | FTP | other *** search
-
- _D_r_a_w _F_u_n_c_t_i_o_n _P_l_o_t_s
-
- curve(expr, from, to, n=100, ...)
-
- _A_r_g_u_m_e_n_t_s:
-
- expr : an expression, written as a function of x
- which will be plotted.
-
- from,to : the range over which the function will be
- plotted.
-
- n : the expression will be evaluated at n points
- equally spaced over the range [from, to].
- The points determined in this way are then
- joined with straight lines.
-
- ... : graphical parameters can also be specified as
- arguments.
-
- _V_a_l_u_e:
-
- This function draws a curve corresponding to the given
- expression (in x) over the interval [from,to]. It is a
- quick hack which seems to serve a useful purpose, but
- can give bad results for functions which are discon-
- tinuous.
-
- _E_x_a_m_p_l_e_s:
-
- curve(x^3-3*x, -2, 2)
-
-