plot {spacesRGB} | R Documentation |
plot a TransferFunction
Description
plot a TransferFunction
of dimension 1, 2, or 3.
Usage
## S3 method for class 'TransferFunction'
plot( x, color='red', main=TRUE, add=FALSE, ... )
Arguments
x |
a |
color |
Any value acceptable as the |
main |
If |
add |
If |
... |
other graphical parameters, see Details |
Details
If N=1 a conventional plot is drawn using graphics::lines()
.
Commonly used graphical parameters applicable when N=1 are:
log | passed on to plot.default() .
Care must be taken because many transfer functions have 0 in their domains. |
If N=2 a grid is generated in the domain box, and the image of that grid is plotted using using graphics::lines()
.
If N=3 a grid is generated in the domain box, and the image of that grid is plotted in 3D
using rgl::lines3d()
.
Value
TRUE
or FALSE
See Also
graphics::lines()
,
rgl::lines3d()