-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
22 lines (15 loc) · 1.01 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
** -------------------------------------------------------------------- **
** Technical Reference **
** -------------------------------------------------------------------- **
(1) Every instance of a GnuPlot class corresponds to the spawn of a
gnuplot process which takes commands through a unix pipe.
(2) The GnuPlot class defines by default a Layout internal instance
which can be replaced by the setLayout() method.
The default Layout provides a simple 1×1 subdivision of the canvas.
(3) Any element which is able to modify somehow the canvas must be a
subclass of the Drawable abstract class. This forces to implement
three methods: init(), display() and reset(), which respectively
prepare the canvas, display what must be displayed and reset the
canvas to the previous settings. The Drawable class also implements a
run() method which executes sequentially init(), display() and
reset(). The use of run() is not mandatory.