X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Fgraphic_export%2Fhelp%2Fen_US%2Fxs2ps.xml;h=ffc05ef95a2e2e2a42bebf21ef588bbbf061cf6e;hp=9f2563f320715571912f36e9fb0350403ea7a684;hb=5a9db60535acced94811c858758fe5b95c5fd2f4;hpb=06ceb4fce2095c393d9629961a669fdebbb57cc3 diff --git a/scilab/modules/graphic_export/help/en_US/xs2ps.xml b/scilab/modules/graphic_export/help/en_US/xs2ps.xml index 9f2563f..ffc05ef 100644 --- a/scilab/modules/graphic_export/help/en_US/xs2ps.xml +++ b/scilab/modules/graphic_export/help/en_US/xs2ps.xml @@ -10,133 +10,116 @@ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt * --> - - - - eng - - xs2ps - - Scilab Function - - $LastChangedDate$ - - send graphics to a file in PS - syntax - - - xs2ps(win_num,filen,[color]) - - - - - - win_num - - - : integer scalar or vector . - - - - - filen - - - : string, file name. - - - - - color - - - : optional integer. 0 means black and white and 1 means color. - The default value is to use a value compatible with the screen - status. - - - - - - -

The function xs2ps will not be available in version alpha

-

xs2ps saves the recorded graphics of the window - win_num to file filen in Postscript syntax. The - filen must not have suffix extension.

- -

Note that the generated Postscript file cannot be direcly printed since - it requires a header file. The Scilab command BEpsf or others - can be used to add a header file. The function xs2eps can be - used to directly produce an encapsulated Postscript file with an - header.

- -

This function works only if the selected driver is "Rec" - in the window win_num or if the window is in "new style". The - generated postscript file does not contrains the header part

-
- - + + $LastChangedDate$ + + + + xs2ps + + send graphics to a file in PS syntax + + + + Calling Sequence + + xs2ps(win_num,filen,[orientation]) + + + + Parameters + + + + win_num + + + integer scalar or vector . + + + + + filen + + + string, file name. + + + + + orientation + + + optional character, with possible values 'p' (portrait) or 'l' + (landscape). The default value is 'p'. + + + + + + + Description + + xs2ps saves the recorded graphics of the window + win_num to file filen in Postscript + syntax. The filen must not have suffix + extension. + + Note that the generated Postscript file cannot be direcly printed + since it requires a header file. The function xs2eps + can be used to directly produce an encapsulated Postscript file with an + header. + + + + Examples + + scf(0); plot2d(); // Postcript export filename='foo.ps'; -xs2ps(0,filename) -// Gif export -xs2gif(0,'foo.gif'); -// ppm export -xs2ppm(0,'foo.ppm'); -]]> - - - - set_posfig_dim - - - printing - - - - xbasimp - - - - xs2bmp - - - - xs2gif - - - - xs2jpg - - - - xs2png - - - - xs2ppm - - - - xs2eps - - - - xs2pdf - - - - xs2svg - - - - xs2fig - - - - xs2emf - - -
\ No newline at end of file +xs2ps(0,filename); + + + + See Also + + + set_posfig_dim + + toprint + + printfigure + + xbasimp + + xs2bmp + + xs2gif + + xs2jpg + + xs2png + + xs2ppm + + xs2eps + + xs2pdf + + xs2svg + + xs2fig + + xs2emf + + + \ No newline at end of file