export graphics to PDF.
xs2pdf(win_num, file_name [,orientation]) xs2pdf(fig, file_name [,orientation])
an integer, ID of the figure to export.
handle of the figure to export.
a string, name of the exported file.
If the extension is not provided, it is going to be automatically added.
an optional string, with possible values
'portrait'
or
'landscape'
. The
default value is 'portrait'
.
xs2pdf
exports the display of a graphic window into an PDF file.
figure_size
property in figure_properties — description of the graphics
figure entity properties