Graphics |
Plot Objects and Backward Compatibility
Plotting functions that create plot objects can introduce incompatibilities with code written before MATLAB Version 7. However, all plotting functions that return handles to plot objects support an optional argument ('v6'
) that forces the functions to use core objects, as was the case in MATLAB before Version 7.
See Plot Objects for a list of functions that create plot objects.
See Core Graphics Objects for a list of core graphics objects.
Saving Figures That Are Compatible with Previous Version of MATLAB
Create backward-compatible FIG-files by following these two steps.
'v6'
argument, where applicable.
'-v6'
option with the hgsave
command.
You can set a general MATLAB preference to ensure that figures saved by selecting the Save item under the figure File menu are backward compatible. To access MATLAB preferences, select Preferences from the Desktop File menu. Expand the General node and select MAT Files. Click Ensure backward compatibility (-v6). Note that this setting affects all FIG-files and MAT-files that you create.
Linking Graphs to Variables -- Data Source Properties | Annotation Objects |
© 1994-2005 The MathWorks, Inc.