From 384ee9bf41fd5a1c3befd151129f06c43e8f4f52 Mon Sep 17 00:00:00 2001 From: Sylvestre Koumar Date: Fri, 8 Feb 2008 14:13:09 +0000 Subject: [PATCH] Online-help for export (bitmap & poscript) --- .../modules/graphic_export/help/en_US/xs2bmp.xml | 96 ++++++++++++++ .../modules/graphic_export/help/en_US/xs2emf.xml | 73 +++++++++++ .../modules/graphic_export/help/en_US/xs2eps.xml | 113 ++++++++++++++++ .../modules/graphic_export/help/en_US/xs2gif.xml | 101 +++++++++++++++ .../modules/graphic_export/help/en_US/xs2jpg.xml | 95 ++++++++++++++ .../modules/graphic_export/help/en_US/xs2pdf.xml | 118 +++++++++++++++++ .../modules/graphic_export/help/en_US/xs2png.xml | 95 ++++++++++++++ .../modules/graphic_export/help/en_US/xs2ppm.xml | 88 +++++++++++++ scilab/modules/graphic_export/help/en_US/xs2ps.xml | 136 ++++++++++++++++++++ .../modules/graphic_export/help/en_US/xs2svg.xml | 118 +++++++++++++++++ 10 files changed, 1033 insertions(+) create mode 100644 scilab/modules/graphic_export/help/en_US/xs2bmp.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2emf.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2eps.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2gif.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2jpg.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2pdf.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2png.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2ppm.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2ps.xml create mode 100644 scilab/modules/graphic_export/help/en_US/xs2svg.xml diff --git a/scilab/modules/graphic_export/help/en_US/xs2bmp.xml b/scilab/modules/graphic_export/help/en_US/xs2bmp.xml new file mode 100644 index 0000000..a0526f4 --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2bmp.xml @@ -0,0 +1,96 @@ + + + + eng + + xs2bmp + + Scilab Function + + $LastChangedDate: 2006-08-03 16:16:36 +0200 (jeu., 03 août 2006) $ + + send graphics to a file in BMP syntax (Only + for Windows) + + + xs2bmp(win_num,filen) + + + + + + win_num + + + : integer scalar. + + + + + filen + + + : string, file name. + + + + + + +

xs2bmp sends the recorded graphics of the window + win_num in the file filen in BMP format. This + function works only if the selected driver is "Rec" in the + window win_num or if the window is in "new style".

+
+ + + + + + xs2gif + + + + xs2jpg + + + + xs2png + + + + xs2ppm + + + + xs2eps + + + + xs2pdf + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + + + A.C +
\ No newline at end of file diff --git a/scilab/modules/graphic_export/help/en_US/xs2emf.xml b/scilab/modules/graphic_export/help/en_US/xs2emf.xml new file mode 100644 index 0000000..460768e --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2emf.xml @@ -0,0 +1,73 @@ + + + + eng + + xs2emf + + Scilab Function + + $LastChangedDate: 2006-08-03 16:16:36 +0200 (jeu., 03 août 2006) $ + + send graphics to a file in EMF syntax (Only + for Windows) + + + xs2emf(win_num,filen) + + + + + + win_num + + + : integer scalar. + + + + + filen + + + : string, file name. + + + + + + +

The function xs2emf will not be available in version alpha

+

xs2emf sends the recorded graphics of the window + win_num in the file filen in EMF format. This + function works only if the selected driver is "Rec" in the + window win_num or if the window is in "new style".

+
+ + + + + + xs2fig + + + + xs2ps + + + + xs2ppm + + + + xs2bmp + + + + A.C +
\ No newline at end of file diff --git a/scilab/modules/graphic_export/help/en_US/xs2eps.xml b/scilab/modules/graphic_export/help/en_US/xs2eps.xml new file mode 100644 index 0000000..b3eaf2d --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2eps.xml @@ -0,0 +1,113 @@ + + + + eng + xs2eps + Scilab Function + $LastChangedDate: 2006-08-03 16:16:36 +0200 (jeu., 03 août 2006) $ + save graphics to a Postscript file. + + xs2eps(win_num,filen [,colored] [,orientation]) + + + + + win_num + + : integer scalar or vector . + + + + filen + + : string, file name. + + + + colored + + : optional integer or boolean. 0 (%f) means black and white and 1 + (%t) means color. + The default value (-1) is to use a value compatible with the screen + status. + + + + orientation + + : optional character, with possible values 'p' (portrait) or 'l' (landscape). + The default value is 'p'. + + + + + +

The function xs2eps will not be available in version alpha

+

xs2eps saves the recorded graphics of the window + win_num to file filen in Postscript syntax. + Note that filen must not have extension.

+ +

xs2eps produces a complete encapsulated Postscrip file. + It simply calls xs2eps and then BEpsf.

+ +

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

+
+ + + + + + set_posfig_dim + + + printing + + + xs2bmp + + + + xs2gif + + + + xs2jpg + + + + xs2png + + + + xs2ppm + + + + xs2pdf + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + +
diff --git a/scilab/modules/graphic_export/help/en_US/xs2gif.xml b/scilab/modules/graphic_export/help/en_US/xs2gif.xml new file mode 100644 index 0000000..74ad48b --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2gif.xml @@ -0,0 +1,101 @@ + + + + eng + xs2gif + Scilab Function + $LastChangedDate: 2006-08-03 16:16:36 +0200 (jeu., 03 août 2006) $ + send graphics to a file in GIF syntax + + xs2gif(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. + + + + + +

xs2gif sends the recorded graphics of the + window win_num in the file filen in GIF format. + This function works only if the selected + driver is "Rec" in the window + win_num or if the window is in "new style".

+

To convert a sequence of "GIF" files to an animated GIF file + one can use the "convert" program for ImageMagic + (http://www.imagemagick.org/)

+ +

For example if one has generated a sequence of Gif files named + img*.gif it is possible to build an animated Gif file (named + anim.gif) by

+ + + + +
+ + + + xs2bmp + + + + xs2jpg + + + + xs2png + + + + xs2ppm + + + + xs2eps + + + + xs2pdf + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + +
diff --git a/scilab/modules/graphic_export/help/en_US/xs2jpg.xml b/scilab/modules/graphic_export/help/en_US/xs2jpg.xml new file mode 100644 index 0000000..ddc4b1e --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2jpg.xml @@ -0,0 +1,95 @@ + + + + eng + + xs2jpg + + Scilab Function + + $LastChangedDate: 2008-02-08 14:35:20 +0200 (ven., 08 février 2008) $ + + send graphics to a file in JPG syntax + + + xs2jpg(win_num,filen) + + + + + + win_num + + + : integer scalar. + + + + + filen + + + : string, file name. + + + + + + +

xs2jpg sends the recorded graphics of the window + win_num in the file filen in JPG format. This + function works only if the selected driver is "Rec" in the + window win_num or if the window is in "new style".

+
+ + + + + + xs2bmp + + + + xs2gif + + + + xs2png + + + + xs2ppm + + + + xs2eps + + + + xs2pdf + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + + + S.K +
\ No newline at end of file diff --git a/scilab/modules/graphic_export/help/en_US/xs2pdf.xml b/scilab/modules/graphic_export/help/en_US/xs2pdf.xml new file mode 100644 index 0000000..00232cd --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2pdf.xml @@ -0,0 +1,118 @@ + + + + eng + xs2pdf + Scilab Function + $LastChangedDate: 2008-02-08 14:53:35 +0200 (ven., 08 février 2008) $ + save graphics to a Postscript file. + + xs2pdf(win_num,filen [,colored] [,orientation]) + + + + + win_num + + : integer scalar or vector . + + + + filen + + : string, file name. + + + + colored + + : optional integer or boolean. 0 (%f) means black and white and 1 + (%t) means color. + The default value (-1) is to use a value compatible with the screen + status. + + + + orientation + + : optional character, with possible values 'p' (portrait) or 'l' (landscape). + The default value is 'p'. + + + + + +

The function xs2pdf will not be available in version alpha

+

xs2pdf saves the recorded graphics of the window + win_num to file filen in Postscript syntax. + Note that filen must not have extension.

+ +

xs2pdf produces a complete encapsulated Postscrip file. + It simply calls xs2pdf and then BEpsf.

+ +

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

+
+ + + + + + set_posfig_dim + + + printing + + + + xbasimp + + + + xs2bmp + + + + xs2gif + + + + xs2jpg + + + + xs2png + + + + xs2ppm + + + + xs2eps + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + +
diff --git a/scilab/modules/graphic_export/help/en_US/xs2png.xml b/scilab/modules/graphic_export/help/en_US/xs2png.xml new file mode 100644 index 0000000..dd14af2 --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2png.xml @@ -0,0 +1,95 @@ + + + + eng + + xs2png + + Scilab Function + + $LastChangedDate: 2008-02-08 14:35:20 +0200 (ven., 08 février 2008) $ + + send graphics to a file in PNG syntax + + + xs2png(win_num,filen) + + + + + + win_num + + + : integer scalar. + + + + + filen + + + : string, file name. + + + + + + +

xs2png sends the recorded graphics of the window + win_num in the file filen in PNG format. This + function works only if the selected driver is "Rec" in the + window win_num or if the window is in "new style".

+
+ + + + + + xs2bmp + + + + xs2gif + + + + xs2jpg + + + + xs2ppm + + + + xs2eps + + + + xs2pdf + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + + + S.K +
\ No newline at end of file diff --git a/scilab/modules/graphic_export/help/en_US/xs2ppm.xml b/scilab/modules/graphic_export/help/en_US/xs2ppm.xml new file mode 100644 index 0000000..3492cb8 --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2ppm.xml @@ -0,0 +1,88 @@ + + + + eng + xs2ppm + Scilab Function + $LastChangedDate: 2006-08-03 16:16:36 +0200 (jeu., 03 août 2006) $ + send graphics to a file in PPM syntax + + xs2ppm(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. + + + + + +

xs2ppm sends the recorded graphics of the + window win_num in the file filen in PPM format. + This function works only if the selected + driver is "Rec" in the window + win_num or if the window is in "new style".

+
+ + + + + xs2bmp + + + + xs2gif + + + + xs2jpg + + + + xs2png + + + + xs2eps + + + + xs2pdf + + + + xs2svg + + + + xs2ps + + + + xs2fig + + + + xs2emf + + +
diff --git a/scilab/modules/graphic_export/help/en_US/xs2ps.xml b/scilab/modules/graphic_export/help/en_US/xs2ps.xml new file mode 100644 index 0000000..307f1e1 --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2ps.xml @@ -0,0 +1,136 @@ + + + + eng + + xs2ps + + Scilab Function + + $LastChangedDate: 2006-08-03 16:16:36 +0200 (jeu., 03 août 2006) $ + + 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

+
+ + .eps file + if MSDOS then + unix_s(pathconvert('""'+WSCI+'/bin/BEpsf'+'""',%f)+' -p ' +filename) + else + unix_s(pathconvert('SCI/bin/BEpsf',%f)+' -p ' +filename) + end + // 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 diff --git a/scilab/modules/graphic_export/help/en_US/xs2svg.xml b/scilab/modules/graphic_export/help/en_US/xs2svg.xml new file mode 100644 index 0000000..bc1d716 --- /dev/null +++ b/scilab/modules/graphic_export/help/en_US/xs2svg.xml @@ -0,0 +1,118 @@ + + + + eng + xs2svg + Scilab Function + $LastChangedDate: 2008-02-08 14:53:35 +0200 (ven., 08 février 2008) $ + save graphics to a Postscript file. + + xs2svg(win_num,filen [,colored] [,orientation]) + + + + + win_num + + : integer scalar or vector . + + + + filen + + : string, file name. + + + + colored + + : optional integer or boolean. 0 (%f) means black and white and 1 + (%t) means color. + The default value (-1) is to use a value compatible with the screen + status. + + + + orientation + + : optional character, with possible values 'p' (portrait) or 'l' (landscape). + The default value is 'p'. + + + + + +

The function xs2svg will not be available in version alpha

+

xs2svg saves the recorded graphics of the window + win_num to file filen in Postscript syntax. + Note that filen must not have extension.

+ +

xs2svg produces a complete encapsulated Postscrip file. + It simply calls xs2svg and then BEpsf.

+ +

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

+
+ + + + + + set_posfig_dim + + + printing + + + + xbasimp + + + + xs2bmp + + + + xs2gif + + + + xs2jpg + + + + xs2png + + + + xs2ppm + + + + xs2eps + + + + xs2pdf + + + + xs2ps + + + + xs2fig + + + + xs2emf + + +
-- 1.7.9.5