Easy Function Plot
Easy function plot w/o the need to define x, y
coordinates.
For other colors, you can look up their RGB code on many websites such as RGB Color Codes Chart or HTML Color Picker to see the RGB codes (or hex codes, etc.) For example, at these RGB Color websites, you will be given R=255, G=0, B=0 for red. So you can use 1/255255,0,0 to get the color of red to use as a color. Fplot uses adaptive step control to produce a representative graph, concentrating its evaluation in regions where the function's rate of change is the greatest. Examples Plot the hyperbolic tangent function from.
- Keywords
- graphs
Usage
Arguments
- f
- Function to be plotted.
- interval
- interval [a, b] to plot the function in
- a, b
- Left and right endpoint for the plot.
- n
- Number of points to plot.
- col
- Color of the function graph.
- add
- logical; shall the polt be added to an existing plot.
- lty
- line type; default 1.
- lwd
- line width; default 1.
- marker
- no. of markers to be added to the curve; defailt: none.
- pch
- poimt character; default circle.
- grid
- Logical; shall a grid be plotted?; default
TRUE
. - gridcol
- Color of grid points.
- fill
- Logical; shall the area between function and axis be filled?; default:
FALSE
. - fillcol
- Color of fill area.
- xlab
- Label on the
x
-axis. - ylab
- Label on the
y
-axis. - main
- Title of the plot
- ..
- More parameters to be passed to
plot
.
Plot Color Octave
Details
Calculates the x, y
coordinates of points to be plotted and calls the plot
function.
If fill
is TRUE
, also calls the polygon
function with the x, y
coordinates in appropriate order.
Change Plot Color
If the no. of markers
Bc casinos open. is greater than 2, this number of markers will be added to the curve, with equal distances measured along the curve.
Value
- Plots the function graph and invisibly returns
NULL
.Note
Easy Function Plot
Easy function plot w/o the need to define x, y
coordinates.
For other colors, you can look up their RGB code on many websites such as RGB Color Codes Chart or HTML Color Picker to see the RGB codes (or hex codes, etc.) For example, at these RGB Color websites, you will be given R=255, G=0, B=0 for red. So you can use 1/255255,0,0 to get the color of red to use as a color. Fplot uses adaptive step control to produce a representative graph, concentrating its evaluation in regions where the function's rate of change is the greatest. Examples Plot the hyperbolic tangent function from.
- Keywords
- graphs
Usage
Arguments
- f
- Function to be plotted.
- interval
- interval [a, b] to plot the function in
- a, b
- Left and right endpoint for the plot.
- n
- Number of points to plot.
- col
- Color of the function graph.
- add
- logical; shall the polt be added to an existing plot.
- lty
- line type; default 1.
- lwd
- line width; default 1.
- marker
- no. of markers to be added to the curve; defailt: none.
- pch
- poimt character; default circle.
- grid
- Logical; shall a grid be plotted?; default
TRUE
. - gridcol
- Color of grid points.
- fill
- Logical; shall the area between function and axis be filled?; default:
FALSE
. - fillcol
- Color of fill area.
- xlab
- Label on the
x
-axis. - ylab
- Label on the
y
-axis. - main
- Title of the plot
- ..
- More parameters to be passed to
plot
.
Plot Color Octave
Details
Calculates the x, y
coordinates of points to be plotted and calls the plot
function.
If fill
is TRUE
, also calls the polygon
function with the x, y
coordinates in appropriate order.
Change Plot Color
If the no. of markers
Bc casinos open. is greater than 2, this number of markers will be added to the curve, with equal distances measured along the curve.
Value
- Plots the function graph and invisibly returns
NULL
.Note
fplot
is almost an alias for ezplot
as all ez..
will be replaced by MATLAB with function names f..
in 2017.
ezplot
should mimick the Matlab function of the same name, has more functionality, misses the possibility to plot several functions.
See Also
Aliases
- ezplot
- fplot