export graphics to PDF.
xs2pdf(win_num, file_name [,orientation]) xs2pdf(hdl, file_name [,orientation])
an integer, ID of the Figure to export.
handle of the Figure or Frame 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 Figure or a Frame into an PDF file.
figure_size property in figure_properties — description of the graphics
figure entity properties