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