Utility function for the package EntropyMCMC, to visualize a
2-dimensional target of a MCMC algorithm, mostly for testing purpose.
This uses the function persp from package graphics.
plottarget3d(zft, l, r, ms, theta, phi, ...)a function, typically a 2-dimensional target of a MCMC.
mesh boundaries and size.
angles defining the viewing direction. theta gives the azimuthal direction and phi the colatitude.
additional graphical parameters.
Returns a 3D plot on a mesh of size (l, r, ms).