ravetools_curvePlots a ravetools_curve object created by
catmull_rom_3d. When the rgl package is available
and use_rgl = TRUE (default), an interactive 3D scene is opened.
Otherwise three 2-D projection panels (x-y, x-z,
y-z) are drawn using base R graphics.
# S3 method for ravetools_curve
plot(x, n = 200L, col = "steelblue", pch = 19L, cex = 1, use_rgl = TRUE, ...)Invisibly returns x.
an object of class ravetools_curve.
integer; number of sample points used to draw the smooth curve.
Default is 200L.
color for the spline curve line. Default "steelblue".
plotting character and scaling for the key control points
(base-R fallback only). Default pch = 19, cex = 1.
logical; if TRUE (default) and the rgl
package is installed, an interactive 3D window is used. Set to
FALSE to force the base-R 2D projection panels.
additional graphical parameters forwarded to the underlying plot calls.