Savecampos-Loadcampos
Version 1.0.0.0 (1.41 KB) by
Bertrand Dano
Save & load all camera parameters for re-plotting 3D data or comparison.
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)
subplot(1,2,2)
surfc(X,Y,Z)
loadcampos(1)
Cite As
Bertrand Dano (2026). Savecampos-Loadcampos (https://uk.mathworks.com/matlabcentral/fileexchange/24644-savecampos-loadcampos), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13SP1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Camera Views in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
