save graphics into a file
xsave(filename) xsave(filename, win_num) xsave(filename, win_handle)
xsave
saves the graphics contained in the graphics window
win_num
in the binary file file_name
, and can be
reloaded with xload
.
![]() | xsave(file_name, win_num) and
xsave(file_name, win_handle) are just shortcuts respectively for
h=findobj("figure_id", win_num); save(file_name, "h") and
save(file_name, "win_handle") , that can be used directly. |
Version | Description |
5.0 | All uimenu and uicontrol elements of the figure are now saved as well. |