send graphics to a PPM file.
xs2ppm(win_num, file_name) xs2ppm(fig, file_name)
integer, id of the figure to export.
handle of the figure to export.
string, name of the exported file.
xs2ppm exports the display of a graphic window into a PPM file.
xs2ppm
scf(0) plot2d() //PPM export filename='foo.ppm'; xs2ppm(0,filename);