export and append graphics to a multipage PDF
xsapp2pdf(win_num, file_name [,orientation]) xsapp2pdf(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'
.
xsapp2pdf
appends the display of a Figure or a Frame to a PDF file. If the file does not exist, it is created.