1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA - Sylvestre Koumar
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
14 <!DOCTYPE MAN SYSTEM "../../../../modules/helptools/help.dtd">
16 <LANGUAGE>eng</LANGUAGE>
20 <TYPE>Scilab Function</TYPE>
22 <DATE>$LastChangedDate$</DATE>
24 <SHORT_DESCRIPTION name="xs2ps">send graphics to a file in PS
25 syntax</SHORT_DESCRIPTION>
28 <CALLING_SEQUENCE_ITEM>xs2ps(win_num,filen,[color])</CALLING_SEQUENCE_ITEM>
34 <PARAM_NAME>win_num</PARAM_NAME>
37 <SP>: integer scalar or vector .</SP>
42 <PARAM_NAME>filen</PARAM_NAME>
45 <SP>: string, file name.</SP>
50 <PARAM_NAME>color</PARAM_NAME>
53 <SP>: optional integer. 0 means black and white and 1 means color.
54 The default value is to use a value compatible with the screen
62 <P>The function xs2ps will not be available in version alpha</P>
63 <P><VERB>xs2ps</VERB> saves the recorded graphics of the window
64 <VERB>win_num</VERB> to file <VERB>filen</VERB> in Postscript syntax. The
65 <VERB>filen</VERB> must not have suffix extension.</P>
67 <P>Note that the generated Postscript file cannot be direcly printed since
68 it requires a header file. The Scilab command <VERB>BEpsf</VERB> or others
69 can be used to add a header file. The function <VERB>xs2eps</VERB> can be
70 used to directly produce an encapsulated Postscript file with an
73 <P>This function works only if the selected driver is <VERB>"Rec"</VERB>
74 in the window <VERB>win_num</VERB> or if the window is in "new style". The
75 generated postscript file does not contrains the header part</P>
92 <LINK>set_posfig_dim</LINK>