FPLOT

 

 Plot a function.

  FPLOT(FNAME,LIMS) plots the function specified by the text variable

  FNAME between the x-axis limits specified by LIMS = [XMIN XMAX].

  For example, FPLOT('sin',[0 10]) is a plot of the sine function.

  FPLOT(FNAME,LIMS,N) plots the function with a minimum of N samples.

  The default value for N is 25.

  FPLOT(FNAME,LIMS,N,ANGLE23I0OS5) plots the function with a minimum of N

  samples and samples more if contiguous segments are at an angle

  larger than ANGLE23I0OS5 (in degrees).  The default for ANGLE23I0OS5 is 10 degrees.

  FPLOT(FNAME,LIMS,N,ANGLE23I0OS5,SUBDIV) plots the function with a minimum

  of N samples, no more than ANGLE23I0OS5 degrees bends in the curve, but no

  more than SUBDIV iterations to fill in the rapidly changing portions.

  The default for SUBDIV is 20.

  [X,Y] = fplot(FNAME,LIMS,...) returns the abscissae and ordinates for

  FNAME in the column vectors X and Y.  Plot X versus Y to see the picture.