Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot3d_mesh

Plot a three dimensional mesh


Description

Plot a three dimensional mesh

Usage

plot3d_mesh(mesh, view = "scatterplot3d", color = "black", ...)

Arguments

mesh

3-dimensional mesh to draw

view

3d framework to use: 'rgl' or 'scatterplot3d' (default)

color

color of the mesh

...

optional arguments passed to plot function

Examples

plot2d_mesh(mesh_exsets(f = function(x) sin(pi*x[1])*sin(pi*x[2]),
                        threshold=0,sign=1, mesh="unif",mesh.size=11,
                        intervals = matrix(c(1/2,5/2,1/2,5/2),nrow=2)))

plot3d_mesh(mesh_exsets(function(x) (0.5+x[1])^2+(-0.5+x[2])^2+(0.+x[3])^2,
                        threshold = .25,sign=-1, mesh="unif", mesh.sizes = 10,
                        intervals=matrix(c(-1,1,-1,1,-1,1),nrow=2)))

plot3d_mesh(mesh_exsets(function(x) (0.5+x[1])^2+(-0.5+x[2])^2+(0.+x[3])^2,
                        threshold = .25,sign=-1, mesh="unif", mesh.sizes = 10,
                        intervals=matrix(c(-1,1,-1,1,-1,1),nrow=2)),mode='rgl')

DiceView

Methods for Visualization of Computer Experiments Design and Surrogate

v2.0-1
GPL-3
Authors
Yann Richet, Yves Deville, Clement Chevalier
Initial release
2020-11-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.