Surface plot of two-dimensional test function.
Surface plot of two-dimensional test function.
plot3D(x, length.out = 100L, package = "plot3D", ...)
x |
[ |
length.out |
[ |
package |
[ |
... |
[any] |
library(plot3D) fn = makeRastriginFunction(dimensions = 2L) ## Not run: # use the plot3D::persp3D method (default behaviour) plot3D(fn) plot3D(fn, contour = TRUE) plot3D(fn, image = TRUE, phi = 30) # use plotly::plot_ly for interactive plot plot3D(fn, package = "plotly") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.