version 1.2, 2003/07/27 13:18:46 |
version 1.4, 2004/03/05 15:56:40 |
|
|
/* $OpenXM: OpenXM/src/asir-contrib/packages/doc/gnuplot.oxweave,v 1.1 2003/05/18 09:57:33 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/asir-contrib/packages/doc/gnuplot.oxweave,v 1.3 2004/03/05 15:30:50 ohara Exp $ */ |
|
|
|
|
/*&C-texi |
/*&C |
@c DO NOT EDIT THIS FILE oxgnuplot.texi |
@c DO NOT EDIT THIS FILE oxgnuplot.texi |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@node GNUPLOT Functions,,, Top |
@node GNUPLOT Functions,,, Top |
@chapter GNUPLOT $BH!?t(B |
@chapter GNUPLOT $BH!?t(B |
|
|
|
|
@code{gnuplot} $B$O(B |
@code{gnuplot} $B$O(B |
@file{$(OpenXM_HOME)/lib/asir-contrib/} $B$K$"$k(B. |
@file{$(OpenXM_HOME)/lib/asir-contrib/} $B$K$"$k(B. |
*/ |
*/ |
/*&eg-texi |
/*&en |
@node GNUPLOT Functions,,, Top |
@node GNUPLOT Functions,,, Top |
@chapter GNUPLOT Functions |
@chapter GNUPLOT Functions |
|
|
Line 24 These interface functions are defined in the file @cod |
|
Line 24 These interface functions are defined in the file @cod |
|
The file @file{gnuplot} is at @* |
The file @file{gnuplot} is at @* |
@file{$(OpenXM_HOME)/lib/asir-contrib}. |
@file{$(OpenXM_HOME)/lib/asir-contrib}. |
*/ |
*/ |
/*&C-texi |
/*&C |
|
|
@menu |
@menu |
* gnuplot.start:: |
* gnuplot.start:: |
Line 36 The file @file{gnuplot} is at @* |
|
Line 36 The file @file{gnuplot} is at @* |
|
@end menu |
@end menu |
|
|
*/ |
*/ |
/*&C-texi |
/*&C |
@example |
@example |
@include opening.texi |
@include opening.texi |
[255] gnuplot.start(); |
[255] gnuplot.start(); |
Line 45 The file @file{gnuplot} is at @* |
|
Line 45 The file @file{gnuplot} is at @* |
|
0 |
0 |
@end example |
@end example |
*/ |
*/ |
/*&eg-texi |
/*&en |
The function |
The function |
@code{gnuplot.heat}(@var{dt},@var{step}) demonstrates our gnuplot interface. |
@code{gnuplot.heat}(@var{dt},@var{step}) demonstrates our gnuplot interface. |
It numerically solves the heat equation |
It numerically solves the heat equation |
Line 71 One can observe the instability by changing CFL number |
|
Line 71 One can observe the instability by changing CFL number |
|
gnuplot.heat_set_N(20); gnuplot.heat(0.003,30); (CFL > 0.5 unstable) |
gnuplot.heat_set_N(20); gnuplot.heat(0.003,30); (CFL > 0.5 unstable) |
@end example |
@end example |
*/ |
*/ |
/*&jp-texi |
/*&ja |
$B4X?t(B |
$B4X?t(B |
@code{gnuplot.heat}(@var{dt},@var{step}) $B$O$o$l$o$l$N(B GNUPLOT $B%$%s%?%U%'!<%94X?t$N%G%b(B |
@code{gnuplot.heat}(@var{dt},@var{step}) $B$O$o$l$o$l$N(B GNUPLOT $B%$%s%?%U%'!<%94X?t$N%G%b(B |
$B$G$"$k(B. |
$B$G$"$k(B. |
Line 99 CFL $B$rJQ$($k$3$H$K$h$j(B, $BIT0BDj@-$,@8$8$k$N$r4 |
|
Line 99 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) |
gnuplot.set_heat_N(20); gnuplot.heat(0.003,30); (CFL > 0.5 unstable) |
@end example |
@end example |
*/ |
*/ |
/*&C-texi |
/*&C |
Author of @code{GNUPLOT}: Thomas Williams, Colin Kelley |
Author of @code{GNUPLOT}: Thomas Williams, Colin Kelley |
*/ |
*/ |
|
|
/*&jp-texi |
/*&ja |
@section $BH!?t0lMw(B |
@section $BH!?t0lMw(B |
*/ |
*/ |
/*&eg-texi |
/*&en |
@section Functions |
@section Functions |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@node gnuplot.start,,, GNUPLOT Functions |
@node gnuplot.start,,, GNUPLOT Functions |
@subsection @code{gnuplot.start} |
@subsection @code{gnuplot.start} |
@findex gnuplot.start |
@findex gnuplot.start |
Line 130 Author of @code{GNUPLOT}: Thomas Williams, Colin Kelle |
|
Line 130 Author of @code{GNUPLOT}: Thomas Williams, Colin Kelle |
|
@item $B<1JLHV9f$O(B, @code{Gnuplot_proc} $B$K3JG<$5$l$k(B. |
@item $B<1JLHV9f$O(B, @code{Gnuplot_proc} $B$K3JG<$5$l$k(B. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&eg-texi |
/*&en |
@node gnuplot.start,,, GNUPLOT Functions |
@node gnuplot.start,,, GNUPLOT Functions |
@subsection @code{gnuplot.start} |
@subsection @code{gnuplot.start} |
@findex gnuplot.start |
@findex gnuplot.start |
|
|
@item The descriptor is stored in @code{Gnuplot_proc}. |
@item The descriptor is stored in @code{Gnuplot_proc}. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&C-texi |
/*&C |
@example |
@example |
P = gnuplot.start(); |
P = gnuplot.start(); |
@end example |
@end example |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@table @t |
@table @t |
@item $B;2>H(B |
@item $B;2>H(B |
@code{ox_launch}, @code{gnuplot} |
@code{ox_launch}, @code{gnuplot} |
@end table |
@end table |
*/ |
*/ |
/*&eg-texi |
/*&en |
@table @t |
@table @t |
@item Reference |
@item Reference |
@code{ox_launch}, @code{gnuplot} |
@code{ox_launch}, @code{gnuplot} |
Line 170 P = gnuplot.start(); |
|
Line 170 P = gnuplot.start(); |
|
*/ |
*/ |
|
|
|
|
/*&eg-texi |
/*&en |
@node gnuplot,,, GNUPLOT Functions |
@node gnuplot,,, GNUPLOT Functions |
@subsection @code{gnuplot} |
@subsection @code{gnuplot} |
@findex gnuplot |
@findex gnuplot |
|
|
gnuplot does not accept @code{^}. Use @code{**} instead. |
gnuplot does not accept @code{^}. Use @code{**} instead. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@node gnuplot,,, GNUPLOT Functions |
@node gnuplot,,, GNUPLOT Functions |
@subsection @code{gnuplot} |
@subsection @code{gnuplot} |
@findex gnuplot |
@findex gnuplot |
|
|
GNUPLOT $B$O(B @code{^} $B$r$&$1$D$1$J$$(B. $B$+$o$j$K(B, @code{**} $B$r;H$&(B. |
GNUPLOT $B$O(B @code{^} $B$r$&$1$D$1$J$$(B. $B$+$o$j$K(B, @code{**} $B$r;H$&(B. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&C-texi |
/*&C |
@example |
@example |
[232] P = gnuplot.start(); |
[232] P = gnuplot.start(); |
0 |
0 |
|
|
|
|
@end example |
@end example |
*/ |
*/ |
/*&eg-texi |
/*&en |
@table @t |
@table @t |
@item Reference |
@item Reference |
@code{ox_launch}, @code{gnuplot.start}, @code{rtostr}, |
@code{ox_launch}, @code{gnuplot.start}, @code{rtostr}, |
|
|
in Japansese, ISBN4-924998-11-7 |
in Japansese, ISBN4-924998-11-7 |
@end table |
@end table |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@table @t |
@table @t |
@item $B;2>H(B |
@item $B;2>H(B |
@code{ox_launch}, @code{gnuplot.start}, @code{rtostr}, |
@code{ox_launch}, @code{gnuplot.start}, @code{rtostr}, |
|
|
|
|
|
|
|
|
/*&eg-texi |
/*&en |
@node gnuplot.plot_dots,,, GNUPLOT Functions |
@node gnuplot.plot_dots,,, GNUPLOT Functions |
@subsection @code{gnuplot.plot_dots} |
@subsection @code{gnuplot.plot_dots} |
@findex gnuplot.plot_dots |
@findex gnuplot.plot_dots |
|
|
When @var{d} == @code{[ ]}, the screen will be cleared. |
When @var{d} == @code{[ ]}, the screen will be cleared. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@node gnuplot.plot_dots,,, GNUPLOT Functions |
@node gnuplot.plot_dots,,, GNUPLOT Functions |
@subsection @code{gnuplot.plot_dots} |
@subsection @code{gnuplot.plot_dots} |
@findex gnuplot.plot_dots |
@findex gnuplot.plot_dots |
|
|
@var{d} == @code{[ ]} $B$N$H$-$O%9%/%j!<%s$,$^$:>C5n$5$l$k(B. |
@var{d} == @code{[ ]} $B$N$H$-$O%9%/%j!<%s$,$^$:>C5n$5$l$k(B. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&C-texi |
/*&C |
@example |
@example |
[239] P = gnuplot.start(); |
[239] P = gnuplot.start(); |
0 |
0 |
|
|
0 |
0 |
@end example |
@end example |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@table @t |
@table @t |
@item $B;2>H(B |
@item $B;2>H(B |
@code{gnuplot.start}, @code{plot "fileName" with options}(GNUPLOT command), |
@code{gnuplot.start}, @code{plot "fileName" with options}(GNUPLOT command), |
@code{gnuplot.clean}, @code{gnuplot} |
@code{gnuplot.clean}, @code{gnuplot} |
@end table |
@end table |
*/ |
*/ |
/*&eg-texi |
/*&en |
@table @t |
@table @t |
@item Reference |
@item Reference |
@code{gnuplot.start}, @code{plot "fileName" with options}(GNUPLOT command), |
@code{gnuplot.start}, @code{plot "fileName" with options}(GNUPLOT command), |
|
|
|
|
/** heat equation **/ |
/** heat equation **/ |
|
|
/*&eg-texi |
/*&en |
@node gnuplot.heat,,, GNUPLOT Functions |
@node gnuplot.heat,,, GNUPLOT Functions |
@subsection @code{gnuplot.heat} |
@subsection @code{gnuplot.heat} |
@findex gnuplot.heat |
@findex gnuplot.heat |
Line 418 with the initial condition |
|
Line 418 with the initial condition |
|
@noindent |
@noindent |
Algorithm: NOT Written. (Difference scheme. Courant-Levi-Friedrichs conditions.) |
Algorithm: NOT Written. (Difference scheme. Courant-Levi-Friedrichs conditions.) |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@node gnuplot.heat,,, GNUPLOT Functions |
@node gnuplot.heat,,, GNUPLOT Functions |
@subsection @code{gnuplot.heat} |
@subsection @code{gnuplot.heat} |
@findex gnuplot.heat |
@findex gnuplot.heat |
Line 446 Algorithm: NOT Written. (Difference scheme. Courant-Le |
|
Line 446 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. |
@item $B$3$N4X?t$O>-Mh(B @code{pde_heat_demo} $B$H8F$P$l$kM=Dj(B. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&C-texi |
/*&C |
@example |
@example |
[232] Heat_N = 20$ |
[232] Heat_N = 20$ |
[233] gnuplot.heat(0.001,30)$ |
[233] gnuplot.heat(0.001,30)$ |
Line 456 Algorithm: NOT Written. (Difference scheme. Courant-Le |
|
Line 456 Algorithm: NOT Written. (Difference scheme. Courant-Le |
|
|
|
|
|
|
|
/*&eg-texi |
/*&en |
@node gnuplot.output,,, GNUPLOT Functions |
@node gnuplot.output,,, GNUPLOT Functions |
@subsection @code{gnuplot.output} |
@subsection @code{gnuplot.output} |
@findex gnuplot.output |
@findex gnuplot.output |
|
|
the output will be written to X11 display. |
the output will be written to X11 display. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@node gnuplot.output,,, GNUPLOT Functions |
@node gnuplot.output,,, GNUPLOT Functions |
@subsection @code{gnuplot.output} |
@subsection @code{gnuplot.output} |
@findex gnuplot.output |
@findex gnuplot.output |
|
|
@end itemize |
@end itemize |
*/ |
*/ |
|
|
/*&C-texi |
/*&C |
@example |
@example |
[273] gnuplot.output(|file="hoge.eps"); |
[273] gnuplot.output(|file="hoge.eps"); |
Graphic output of GNUPLOT will be written to hoge.eps as a Poscript file. |
Graphic output of GNUPLOT will be written to hoge.eps as a Poscript file. |
Line 515 Output device is set to X11 |
|
Line 515 Output device is set to X11 |
|
@end example |
@end example |
*/ |
*/ |
|
|
/*&eg-texi |
/*&en |
@table @t |
@table @t |
@item Reference |
@item Reference |
@code{gnuplot} |
@code{gnuplot} |
@end table |
@end table |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@table @t |
@table @t |
@item $B;2>H(B |
@item $B;2>H(B |
@code{gnuplot} |
@code{gnuplot} |
Line 529 Output device is set to X11 |
|
Line 529 Output device is set to X11 |
|
*/ |
*/ |
|
|
|
|
/*&eg-texi |
/*&en |
@node gnuplot.plot_function,,, GNUPLOT Functions |
@node gnuplot.plot_function,,, GNUPLOT Functions |
@subsection @code{gnuplot.plot_function} |
@subsection @code{gnuplot.plot_function} |
@findex gnuplot.plot_function |
@findex gnuplot.plot_function |
Line 552 Polynomial or a list of polynomials |
|
Line 552 Polynomial or a list of polynomials |
|
@end itemize |
@end itemize |
*/ |
*/ |
|
|
/*&jp-texi |
/*&ja |
@node gnuplot.plot_function,,, GNUPLOT Functions |
@node gnuplot.plot_function,,, GNUPLOT Functions |
@subsection @code{gnuplot.plot_function} |
@subsection @code{gnuplot.plot_function} |
@findex gnuplot.plot_function |
@findex gnuplot.plot_function |
Line 574 Polynomial or a list of polynomials |
|
Line 574 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. |
@item @code{gnuplot} $B%5!<%P$K(B @var{f} $B$N%0%i%U$r=q$/$h$&$KMj$`(B. |
@end itemize |
@end itemize |
*/ |
*/ |
/*&C-texi |
/*&C |
|
|
@example |
@example |
[290] gnuplot.plot_function((x+sin(x))^2); |
[290] gnuplot.plot_function((x+sin(x))^2); |
Line 585 Polynomial or a list of polynomials |
|
Line 585 Polynomial or a list of polynomials |
|
|
|
*/ |
*/ |
|
|
/*&eg-texi |
/*&en |
@table @t |
@table @t |
@item Reference |
@item Reference |
@code{gnuplot.to_gnuplot_format} |
@code{gnuplot.to_gnuplot_format} |
@end table |
@end table |
*/ |
*/ |
/*&jp-texi |
/*&ja |
@table @t |
@table @t |
@item $B;2>H(B |
@item $B;2>H(B |
@code{gnuplot.to_gnuplot_format} |
@code{gnuplot.to_gnuplot_format} |