3
PLplot doesn't need to be installed to run these demos.
4
However, different commands might be needed to run the demos when PLplot
5
is installed or not; in these cases, the first command must be used for
6
the installed situation, while the second, separeted by a '|', is for the
9
To run individual examples, run the x?? script corresponding to the x??.tcl
10
example, where ?? is 01 through 19. To find out all the possible command-line
11
options run pltcl -h (every x?? script runs pltcl).
12
For the uninstalled situation, do PATH=../../utils:$PATH x??
14
To run the plot.tcl demo follow the directions in that file to run it
15
under pltcl with the various standard devices.
17
To run the plgrid.tcl demo follow the directions in that file to run it
18
under pltcl with the various standard devices.
20
tcldemos.tcl runs all 19 examples.
22
There are two ways to run tcldemos.tcl:
25
pltcl | ../../utils/pltcl
32
Note the pltcl command has normal PLplot command-line options (run pltcl -h
33
to find out what they are).
35
(2) Note, fill in $prefix below with whatever you configured for the install
36
prefix (/usr/local/plplot or whatever) and $VERSION with the plplot VERSION
37
you are running at this time (5.2.0 or whatever).
40
lappend auto_path $prefix/share/plplot$VERSION | ../../bindings/tcl
48
To find out more about the tclsh command (which comes as part of the tcl
49
package) use man tclsh.
51
Both the pltcl and tclsh methods execute the various x??.tcl examples
52
corresponding to the numbers specified by the user. A few of the x??.tcl
53
examples will return the message that they have not been implemented, but
54
the rest should work smoothly without problems.