xsave
save graphics into a file
Syntax
xsave(filename) xsave(filename, win_num) xsave(filename, win_handle)
Arguments
- file_name
string, name of the file.
- win_num
integer: the graphics window number. If not given, the current graphics window is considered.
- win_handle
handle of the figure to save. By default, gcf() is used.
Description
xsave saves the graphics contained in the graphics window
win_num in the binary file file_name, and can be
reloaded with xload.
![]() |
|
Examples
See also
History
| Version | Description |
| 5.0 | All uimenu and uicontrol elements of the figure are now saved as well. |
| Report an issue | ||
| << xload | load_save | property >> |
