File: scatterplot8.htm

package info (click to toggle)
ploticus-doc 2.40-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,604 kB
  • ctags: 159
  • sloc: pascal: 469; makefile: 63; sh: 11
file content (123 lines) | stat: -rw-r--r-- 1,818 bytes parent folder | download | duplicates (3)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<html><h1>scatterplot8</h1><img src="scatterplot8.gif"><p>
<a href="gall.using.html">How to download and try this example</a><br>

<pre><b>Usage: pl -gif scatterplot8.htm
This example demonstrates how clustering will display multiples of like points.
Scatterplot parameters that influence the appearance of clusters
are symbol and clusterfact.
<hr></b>

// <b> set up plotting region using <a href="../doc/areadef.html">proc areadef</a></b>
#proc areadef
  rectangle: 1 1 7 2
  xrange: 0 12
  yrange: 0 4
  frame: width=0.5 color=0.3

// <b> specify data using <a href="../doc/getdata.html">proc getdata</a></b>
#proc getdata
#intrailer

// <b> draw points using <a href="../doc/scatterplot.html">proc scatterplot</a></b>
#proc scatterplot
  xfield: 1
  yfield: 2
  symbol: shape=nicecircle fillcolor=yellow radius=0.05
  clusterfact: 2

// <b> add N values using <a href="../doc/scatterplot.html">proc scatterplot</a></b>
#proc scatterplot
  xfield: 1
  yfield: 2
  labelfield: 3
  textdetails: adjust=0,0.3

// <b> here is the data referred to in proc getdata... </b>
#proc trailer
  data:   
	  1 1 1
	  2 1 2
	  2 1
	  3 1 3
	  3 1
	  3 1
	  4 1 4
	  4 1
	  4 1
	  4 1
	  5 1 5
	  5 1
	  5 1
	  5 1
	  5 1
	  6 1 6
	  6 1
	  6 1
	  6 1
	  6 1
	  6 1
	  7 1 8
	  7 1 
	  7 1 
	  7 1 
	  7 1 
	  7 1 
	  7 1 
	  7 1 
	  8 1 10
	  8 1 
	  8 1 
	  8 1 
	  8 1 
	  8 1 
	  8 1 
	  8 1 
	  8 1 
	  8 1 
	  9 1 12
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  9 1 
	  10 1 15
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  10 1 
	  11 1 20
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1 
	  11 1