[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/plotxy]

fplot

(/tools/hpmatlab/toolbox/matlab/plotxy/fplot.m)


Function Synopsis

[x0,y0] = fplot(fname,lims,npts,angl,subdiv)

Help text

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,ANGLE) plots the function with a minimum of N
	samples and samples more if contiguous segments are at an angle
	larger than ANGLE (in degrees).  The default for ANGLE is 10 degrees.
	FPLOT(FNAME,LIMS,N,ANGLE,SUBDIV) plots the function with a minimum
	of N samples, no more than ANGLE 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.

Cross-Reference Information

This function calls

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON