printing - printing scilab graphics
The scilab graphics can be saved with the xbasimp command into unix files. The Scilab command :
xbasimp(xx,'des.ps',0)
will save the graphics recorded in the graphic window xx in the file des.ps.xx. This file can't be directly send to a Postscript printer and a set of programs ( in the bin Scilab directory ) are given with Scilab to print it :
mv des.ps.xx des.ps Blatexpr 1.0 1.0 des.ps
under the name des.epsf and a LaTeX file des.tex. The file des.tex can be inserted in a LaTeX file in order to get the latex figure as follows ( the postscript file is inserted with the special command of LaTeX )
\input des.tex \dessin{caption}{label}
Blpr "Two graphics" file1.ps.0 file2.ps.1 | lpr
Blatexprs res file1.ps.0 file2.ps.1
will create two files res.ps and res.tex. The file res.tex is used as in the Blatexpr command in order to get the figure.