[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.start
:: Start ox_sm1_gnuplot
on the localhost.
Integer
ox_sm1_gnuplot
on the localhost.
It returns the descriptor of ox_sm1_gnuplot
.
Xm_noX = 1
to start ox_sm1_gnuplot
without a debug window.
Gnuplot_proc
.
P = gnuplot.start(); |
ox_launch
, gnuplot
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot
:: Ask GNUPLOT to execute the command string s.
Void
Number
String
^
. Use **
instead.
[232] P = gnuplot.start(); 0 *Plot 3 dimensional graph. [233] gnuplot.gnuplot("splot x**2-y**2;"|proc=P); 0 *Plot 2 dimensional graph. [234] gnuplot.gnuplot("plot [-pi:pi] [-2:2] cos(x);"); 0 *Output a graph as a postscript figure. [235] gnuplot.output(|file="hoge.eps"); 0 [236] gnuplot.gnuplot("plot sin(x)*cos(x);"); 0 [237] gnuplot.gnuplot(|file="x11"); 0 *Plot 3 dimensional graph hiding unvisible lines. [236] gnuplot.gnuplot("set hidden3d"); 0 [237] gnuplot.gnuplot("splot (x**2+y**2)*sin(x**2+y**2)"); 0 [238] gnuplot.gnuplot("set isosamples 50"); 0 [239] gnuplot.gnuplot("splot (x**2+y**2)*sin(x**2+y**2)"); |
ox_launch
, gnuplot.start
, rtostr
,
gnuplot.plot_dots
Yabuki Michiro, Otake Tuyoshi; Tukai konasu GNUPLOT, Techno Press, in Japansese, ISBN4-924998-11-7
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.plot_dots
:: Plot the dots d with the style s.
Void
Number
List
String or 0
[ ]
, the screen will be cleared.
[239] P = gnuplot.start(); 0 [240] gnuplot.plot_dots([ ],0); 0 [241] for (I=0; I<10; I++) gnuplot.plot_dots([[I,I^2]]," lines "); [242] A = [ ]; [] [243] for (I=0; I<10; I++) A = append(A,[ [I,I^2]]); [244] A; [[0,0],[1,1],[2,4],[3,9],[4,16],[5,25],[6,36],[7,49],[8,64],[9,81]] [245] gnuplot.plot_dots(A," lines "); 0 |
gnuplot.start
, plot "fileName" with options
(GNUPLOT command),
gnuplot.clean
, gnuplot
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.heat
:: It solves the heat equation numerical and plots solutions
Void
floating point number
Integer
pde_heat_demo
in a future.
Algorithm: NOT Written. (Difference scheme. Courant-Levi-Friedrichs conditions.)
[232] Heat_N = 20$ [233] gnuplot.heat(0.001,30)$ |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.output
:: ask GNUPLOT
to output graphic to the file s in the Postscript format.
Void
String
GNUPLOT
to output graphic to the file s in the Postscript format.
s
is "x11" or this function is called without the argument,
the output will be written to X11 display.
[273] gnuplot.output(|file="hoge.eps"); Graphic output of GNUPLOT will be written to hoge.eps as a Poscript file. 0 [274] gnuplot.gnuplot("plot tan(x)+sin(x);"); 0 [275] gnuplot.output(); Usage of gnuplot.output: gnuplot.output(|file="string") gnuplot.output(|file="x11") Output device is set to X11 |
gnuplot
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.plot_function
:: ask the gnuplot
server to draw a graph of f
Void
Number
Polynomial or a list of polynomials
gnuplot
server to draw a graph of f
[290] gnuplot.plot_function((x+sin(x))^2); 0 [291] gnuplot.plot_function([x,x^2,x^3]); 0 |
gnuplot.to_gnuplot_format
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.stop
:: Stop the gnuplot and remove the temporary fifo file.
Void
String
GNUPLOT
and remove the temporary fifo file generated
by the mkfifo system call under the temporary directory.
[273] gnuplot.stop() |
gnuplot.start
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gnuplot.setenv
::
Void
String
Object
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"); |
gnuplot.start
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by Nobuki Takayama on January, 28 2008 using texi2html 1.76.