File: simple.wip

package info (click to toggle)
wip 2p3-9
  • links: PTS
  • area: non-free
  • in suites: lenny
  • size: 3,160 kB
  • ctags: 889
  • sloc: ansic: 13,304; csh: 534; makefile: 109; sed: 92
file content (12 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
viewport 0.2 0.8 0.3 0.8   # Set the viewport.
data data.dat              # Open the data file.
xcolumn 1                  # Read the x data from column 1.
ycolumn 2                  # Read the y data from column 2.
pcolumn 3                  # Read the symbol data from column 3.
limits 0 10 0 20           # Set world coordinates.
box bcnst bcnst            # Draw a box.
xlabel (x)
ylabel (y)
mtext T 2 0.5 0.5 A Simple Graph
points                     # Draw symbol for each point.
connect                    # Connect the points.