send graphics to a JPG file.
xs2jpg(win_num, file_name) xs2jpg(fig, file_name)
integer, id of the figure to export.
handle of the figure to export.
string, name of the exported file.
xs2jpg exports the display of a graphic window into a JPG file.
S.K