Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot

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 TransferFunction object with dimension N = 1, 2, or 3.

color

Any value acceptable as the col argument to graphics::lines(). If N=3 this argument is currently ignored.

main

If main=TRUE then a main title is generated from the object x. If main=FALSE then no main title is displayed. And if main is a character string then that string is used as the main title. If N=3 this argument is currently ignored.

add

If add=TRUE then the lines are added to an existing plot. If N=3 this argument is currently ignored.

...

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


spacesRGB

Standard and User-Defined RGB Color Spaces, with Conversion Between RGB and CIE XYZ

v1.3-0
GPL (>= 3)
Authors
Glenn Davis [aut,cre]
Initial release
2019-12-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.