Savecampos record all the camera viewpoint parameters and save them into a file. This parameters can be loaded with loadcampos with the same data set when reploted, or with a different data set for comparison. The number of saved viewpoint is unlimited.
Example:
[X,Y,Z] = peaks(30);
subplot(1,2,1)
mesh(X,Y,Z,'edgecolor','k')
%savecampos(1) % do this one time only.
loadcampos(1)