A wrapped function for 3d plot

persp_km(ifon = TRUE, x, y, z, xlab, ylab, zlab, main,
  col_method = "relative", wm = plot_wm(), add = FALSE,
  color_km = NULL)

Arguments

ifon

a switch of whether the plot is performed. For the usage in a shiny app.

x

x

y

y

z

z

xlab

xlab

ylab

ylab

zlab

zlab

main

title

col_method

color method. See 'help(persp_color)'.

wm

add text

add

logical. Whether to add to the current rgl device.

color_km

color of the persp. If NULL, a rainbow color 'persp_color()' is used.

Value

a 3d plot