Debian Codegraph @

pltestsuite/vector1.htm

raw symbols SCIP
1 <html><h1>vector1</h1><img src="vector1.gif"><p>
2 <a href="gall.using.html">How to download and try this example</a><br>
3
4 <pre><b>Usage: pl -gif vector1.htm
5 Demonstrate proc vector.
6 <hr></b>
7
8
9 #proc getdata
10 fieldnameheader: yes
11 data:
12 name x len y dir
13 Test_3 76 19 84 14
14 Test_4 83 12 64 9
15 Test_5 95 11 92 13
16 Test_6 42 8 76 11
17 Test_7 69 13 68 6
18 Test_8 76 2 22 14
19 Test_9 83 15 12 9
20 Test_10 -10 15 -10 9
21 Test_11 -12 18 -10 3
22
23 #proc areadef
24 rectangle: 1 1 4 4
25 xrange: 0 120
26 yrange: 0 120
27 frame: yes
28
29 // do vectors..
30 #proc vector
31 xfield: x
32 yfield: y
33 linedetails: width=1 color=blue
34 arrowheadcolor: blue
35 lenunits: user
36 dirfield: dir
37 lenfield: len
38 lenscale: 3
39 dirrange: 20
40 // clip: no
41
42 // do red dots..
43 #proc scatterplot
44 xfield: x
45 yfield: y
46 symbol: shape=circle fillcolor=red
47
48 // do labels..
49 #proc scatterplot
50 xfield: x
51 yfield: y
52 labelfield: name
53 textdetails: align=L adjust=0.1,0 size=6
54