1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE MAN SYSTEM "../../../../modules/helptools/help.dtd">
4 <LANGUAGE>eng</LANGUAGE>
6 <TYPE>Scilab Function</TYPE>
7 <DATE>$LastChangedDate$</DATE>
8 <SHORT_DESCRIPTION name="xs2eps">save graphics to a Postscript file.</SHORT_DESCRIPTION>
10 <CALLING_SEQUENCE_ITEM>xs2eps(win_num,filen [,colored] [,orientation])</CALLING_SEQUENCE_ITEM>
15 <PARAM_NAME>win_num</PARAM_NAME>
17 <SP>: integer scalar or vector .</SP>
21 <PARAM_NAME>filen</PARAM_NAME>
23 <SP>: string, file name.</SP>
27 <PARAM_NAME>colored</PARAM_NAME>
29 <SP>: optional integer or boolean. 0 (%f) means black and white and 1
31 The default value (-1) is to use a value compatible with the screen
36 <PARAM_NAME>orientation</PARAM_NAME>
38 <SP>: optional character, with possible values 'p' (portrait) or 'l' (landscape).
39 The default value is 'p'.</SP>
45 <P>The function xs2eps will not be available in version alpha</P>
46 <P><VERB>xs2eps</VERB> saves the recorded graphics of the window
47 <VERB>win_num</VERB> to file <VERB>filen</VERB> in Postscript syntax.
48 Note that <VERB>filen</VERB> must not have extension.</P>
50 <P><VERB>xs2eps</VERB> produces a complete encapsulated Postscrip file.
51 It simply calls <VERB>xs2eps</VERB> and then <VERB>BEpsf</VERB>.</P>
53 <P>This function works only if the selected driver is <VERB>"Rec"</VERB>
54 in the window <VERB>win_num</VERB> or if the window is in "new style". The
55 generated postscript file does not contrains the header part</P>
62 filename='foo'; // ! no extension
68 <LINK>set_posfig_dim</LINK>