The following example allows me to zoom in a 3-D plot: mesh(peaks) axis vis3d zoom(2) But there is no way to zoom out: zoom(-2) ??? Error using ==> set Property value must be finite and greater than zero. Error in ==> e:\matlab5\nightly\toolbox\matlab\graph2d\zoom.m On line 217 ==> set(ax,'CameraViewAngle',ncva); I cannot find a way to zoom out of my 3-D plot.
John Michell answered .
2025-11-20
zoom(.5)
to reverse the results, use:
zoom(2)
Negative numbers (for example, -2) are not valid zoom factors.