Plot a two-dimensional "preplot.locfit" object.

Description

This function is not usually called directly. It will be called automatically when plotting one-dimensional locfit or preplot.locfit objects.

Usage

1
2
## S3 method for class 'locfit.2d'
plot(x, type="contour", main, xlab, ylab, zlab=x$yname, ...)

Arguments

x

Two dimensional preplot.locfit object.

type

one of "contour", "persp", or "image".

main

title for the plot.

xlab, ylab

text labels for the x- and y-axes.

zlab

if type="persp", the label for the z-axis.

...

Additional arguments to the contour, persp or image functions.

See Also

locfit, plot.locfit, preplot.locfit

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.