=================================================================== RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/Attic/gnuplot.oxweave,v retrieving revision 1.3 retrieving revision 1.5 diff -u -p -r1.3 -r1.5 --- OpenXM/src/asir-contrib/packages/doc/Attic/gnuplot.oxweave 2004/03/05 15:30:50 1.3 +++ OpenXM/src/asir-contrib/packages/doc/Attic/gnuplot.oxweave 2004/12/18 01:56:03 1.5 @@ -1,7 +1,7 @@ -/* $OpenXM: OpenXM/src/asir-contrib/packages/doc/gnuplot.oxweave,v 1.2 2003/07/27 13:18:46 takayama Exp $ */ +/* $OpenXM: OpenXM/src/asir-contrib/packages/doc/gnuplot.oxweave,v 1.4 2004/03/05 15:56:40 ohara Exp $ */ -/*&C-texi +/*&C @c DO NOT EDIT THIS FILE oxgnuplot.texi */ /*&ja @@ -24,7 +24,7 @@ These interface functions are defined in the file @cod The file @file{gnuplot} is at @* @file{$(OpenXM_HOME)/lib/asir-contrib}. */ -/*&C-texi +/*&C @menu * gnuplot.start:: @@ -33,10 +33,12 @@ The file @file{gnuplot} is at @* * gnuplot.heat:: * gnuplot.plot_function:: * gnuplot.output:: +* gnuplot.setenv:: +* gnuplot.stop:: @end menu */ -/*&C-texi +/*&C @example @include opening.texi [255] gnuplot.start(); @@ -99,7 +101,7 @@ CFL $B$rJQ$($k$3$H$K$h$j(B, $BIT0BDj@-$,@8$8$k$N$r4 gnuplot.set_heat_N(20); gnuplot.heat(0.003,30); (CFL > 0.5 unstable) @end example */ -/*&C-texi +/*&C Author of @code{GNUPLOT}: Thomas Williams, Colin Kelley */ @@ -151,7 +153,7 @@ Integer @item The descriptor is stored in @code{Gnuplot_proc}. @end itemize */ -/*&C-texi +/*&C @example P = gnuplot.start(); @end example @@ -229,7 +231,7 @@ String GNUPLOT $B$O(B @code{^} $B$r$&$1$D$1$J$$(B. $B$+$o$j$K(B, @code{**} $B$r;H$&(B. @end itemize */ -/*&C-texi +/*&C @example [232] P = gnuplot.start(); 0 @@ -353,7 +355,7 @@ String or 0 @var{d} == @code{[ ]} $B$N$H$-$O%9%/%j!<%s$,$^$:>C5n$5$l$k(B. @end itemize */ -/*&C-texi +/*&C @example [239] P = gnuplot.start(); 0 @@ -446,7 +448,7 @@ Algorithm: NOT Written. (Difference scheme. Courant-Le @item $B$3$N4X?t$O>-Mh(B @code{pde_heat_demo} $B$H8F$P$l$kM=Dj(B. @end itemize */ -/*&C-texi +/*&C @example [232] Heat_N = 20$ [233] gnuplot.heat(0.001,30)$ @@ -501,7 +503,7 @@ String @end itemize */ -/*&C-texi +/*&C @example [273] gnuplot.output(|file="hoge.eps"); Graphic output of GNUPLOT will be written to hoge.eps as a Poscript file. @@ -574,7 +576,7 @@ Polynomial or a list of polynomials @item @code{gnuplot} $B%5!<%P$K(B @var{f} $B$N%0%i%U$r=q$/$h$&$KMj$`(B. @end itemize */ -/*&C-texi +/*&C @example [290] gnuplot.plot_function((x+sin(x))^2); @@ -598,6 +600,140 @@ Polynomial or a list of polynomials @end table */ +/*&en + +@node gnuplot.stop,,, GNUPLOT Functions +@subsection @code{gnuplot.stop} +@findex gnuplot.stop +@table @t +@item gnuplot.stop() +:: Stop the gnuplot and remove the temporary fifo file. +@end table + +@table @var +@item return +Void +@item s +String +@end table + +@itemize @bullet +@item Stop the @code{GNUPLOT} and remove the temporary fifo file generated +by the mkfifo system call under the temporary directory. +@end itemize +*/ +/*&ja + +@node gnuplot.stop,,, GNUPLOT Functions +@subsection @code{gnuplot.stop} +@findex gnuplot.stop +@table @t +@item gnuplot.stop() +:: @code{GNUPLOT} $B$rDd;_$7(B, $BDL?.MQ$N(B fifo $B%U%!%$%k$r>C$9(B. +@end table + +@table @var +@item return +Void +@item s +String +@end table + +@itemize @bullet +@item @code{GNUPLOT} $B$rDd;_$7(B, $B0l;~%G%#%l%/%H%j$N2<$K:n@.$5$l$?DL?.MQ$N(B fifo $B%U%!%$%k$r>C$9(B. +@item $BDL?.MQ$N(B fifo $B%U%!%$%kL>$O(B gnuplot $B$G;O$^$k(B. +@end itemize +*/ + +/*&C +@example +[273] gnuplot.stop() +@end example +*/ + +/*&en +@table @t +@item Reference + @code{gnuplot.start} +@end table +*/ +/*&ja +@table @t +@item $B;2>H(B + @code{gnuplot.start} +@end table +*/ + +/*&en +@node gnuplot.setenv,,, GNUPLOT Functions +@subsection @code{gnuplot.setenv} +@findex gnuplot.setenv +@table @t +@item gnuplot.setenv(@var{key},@var{value}) +:: +@end table + +@table @var +@item return +Void +@item key +String +@item value +Object +@end table + +@itemize @bullet +@item The @var{key} takes the value either in +"gnuplot.callingMethod" or "plot.gnuplotexec". +@end itemize +*/ +/*&ja +@node gnuplot.setenv,,, GNUPLOT Functions +@subsection @code{gnuplot.setenv} +@findex gnuplot.setenv +@table @t +@item gnuplot.setenv(@var{key},@var{value}) +:: +@end table + +@table @var +@item return +Void +@item key +String +@item value +Object +@end table + +@itemize @bullet +@item @code{key} $B$O(B "gnuplot.callingMethod" $B$^$?$O(B "plot.gnuplotexec". +@end itemize +*/ + +/*&C +@example + Use the old method to communicate with gnuplot (version 3). + This method does not use mkfifo, but we need a patched version of gnuplot. +[273] gnuplot.setenv("gnuplot.callingMethod",0); +[274] gnuplot.setenv("plot.gnuplotexec",getenv("OpenXM_HOME")+"/bin/gnuplot4ox"); + + Calling your own gnuplot binary. +[274] gnuplot.setenv("plot.gnuplotexec","/cygdrive/c/program files/gnuplot/pgnuplot.exe"); +@end example +*/ + +/*&en +@table @t +@item Reference + @code{gnuplot.start} +@end table +*/ +/*&ja +@table @t +@item $B;2>H(B + @code{gnuplot.start} +@end table +*/ end$