xs2gif Graphiques: export et impression xs2pdf

Manuel Scilab >> Graphiques: export et impression > xs2jpg

xs2jpg

send graphics to a JPG file.

Calling Sequence

xs2jpg(win_num, file_name)
xs2jpg(fig, file_name)

Arguments

win_num

integer, id of the figure to export.

fig

handle of the figure to export.

file_name

string, name of the exported file.

Description

xs2jpg exports the display of a graphic window into a JPG file.

Examples

scf(0);
plot2d();
//JPG export
xs2jpg(0,'foo.jpg');
xs2jpg(gcf(),'foo.jpg');

See Also

Authors

S.K

xs2gif Graphiques: export et impression xs2pdf