This chapter describes  interface functions for
GNUPLOT ox server ox_sm1_gnuplot.
These interface functions are defined in the file gnuplot.
The file `gnuplot' is at 
`$(OpenXM_HOME)/lib/asir-contrib'.
[nobuki@yama doc]$ asir
This is Asir, Version 991116.
Copyright (C) FUJITSU LABORATORIES LIMITED.
3 March 1994. All rights reserved.
[155] load("xm");
1
xm Version 19991109. ox_help(0); ox_help("keyword"); for help message 
[255] gnuplot_start();
0
[257] gnuplot("plot sin(x**2);");
0
The function
heat(dt,step) demonstrates our gnuplot interface.
It numerically solves the heat equation
The segment [0,1] is devided into Heat_N segments.
If the celebrated Courant-Friedrichs-Levi number
dt*Heat_N*Heat_N is less than or equal to 0.5,
then the explicit scheme is numerically stable.
One can observe the instability by changing CFL number.
Heat_N=20; heat(0.001,30); (CFL number is 0.4) Heat_N=20; heat(0.003,30); (CFL > 0.5 unstable)
Author of GNUPLOT: Thomas Williams, Colin Kelley
Go to the first, previous, next, last section, table of contents.