This file is indexed.

/usr/share/doc/libplplot12/examples/tcl/README.tcldemos is in plplot-tcl-dev 5.10.0+dfsg2-0.1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Running the Tcl Demos.

Note these directions as well as taking proper care of all the
dependencies have been incorporated into our CMake-based build systems
for the core build and the installed examples build.  So the tests
below of the Tcl component of PLplot can be done by simply running

make test_interactive

However, we preserve the directions below for historical reasons and
in case you want to do any of these commands by hand.

There are two ways to run the examples below, where the alternatives
are indicated by "|".  The first alternative should only be used if
you have changed directories to
$prefix/share/plplot$VERSION/examples/tcl where $prefix is the PLplot
install prefix and $VERSION is the PLplot release version, e.g.,
5.9.10.  (That is, the first alternative should be used if you have
changed directories to the installed tk examples directory.)  The
second alternative should only be used if you have changed directories
to bindings/examples/tk in the build tree.


To run individual examples, run the x?? script corresponding to the x??.tcl
example, where ?? is 00 through 33 (except for 32), e.g.,

./x00 -dev xwin |  env PATH=../../utils:$PATH ./x00 -dev xwin

Note, -dev xwin is just one possible PLplot driver, and there are many others.

To find out all the possible command-line
options run pltcl -h or x?? -h (every x?? script runs pltcl).

To run the plot.tcl demo follow the directions in that file to run it
under pltcl with the various standard devices.

To run the plgrid.tcl demo follow the directions in that file to run it
under pltcl with the various standard devices.

tcldemos.tcl runs all the standard examples except for example 32.

There are two ways to run tcldemos.tcl:

(1) 
pltcl | ../../bindings/tcl/pltcl
plinit
source tcldemos.tcl
0
1
2
....

Note the pltcl command has normal PLplot command-line options (run pltcl -h
to find out what they are).  In fact, you can specify, e.g., -dev tk or
-dev xwin, but since plinit has to be run in any case, you might as
well use the device driver chooser in that case.

(2) Note, fill in $prefix below with whatever you configured for the install
prefix (/usr/local/plplot or whatever) and $VERSION with the plplot VERSION 
you are running at this time (5.2.0 or whatever).

tclsh
lappend auto_path $prefix/share/plplot$VERSION | ../../bindings/tcl
package require Pltcl
plinit
source tcldemos.tcl
0
1
2
....

To find out more about the tclsh command (which comes as part of the tcl
package) use man tclsh.

Both the pltcl and tclsh methods execute the various x??.tcl examples
corresponding to the numbers (in the range from 0 to 33, except for 32)
specified by the user.