31_plot_methods: Plot Methods

Description Usage Arguments References See Also Examples

Description

Plot methods, for chs-related objects.

Usage

1
2
3
4
5
6
## S3 method for class 'KSpline'
kub.plotf(sf, ..., control.points=FALSE)
## S3 method for class 'KSpline'
kub.linesf(sf, ..., control.points=FALSE)
## S3 method for class 'KSpline'
kub.pointsf(sf, ...)

Arguments

sf

A KSpline object, which is the superclass of CHS, CHSD and CHSI objects.

control.points

If true, plot the control points (for CHS objects), or their corresponding points (for CHSD and CHSI).

...

Other arguments.

References

Please refer to the help page for chs for background information and references.

See Also

chs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#control points
cx <- 1:4
cy <- c (-4, -1, 1, 4)

#cubic hermite spline
#(with function object, and default slopes)
f <- chs (cx, cy)

#plot the object
#(with control points)
plot (f, control.points=TRUE)

kubik documentation built on April 15, 2021, 9:09 a.m.

Related to 31_plot_methods in kubik...