File: pie2.htm

package info (click to toggle)
ploticus-doc 2.0.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,284 kB
  • ctags: 83
  • sloc: pascal: 149; makefile: 61; sh: 30
file content (28 lines) | stat: -rw-r--r-- 712 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
<html><h1>pie2</h1><img src="pie2.gif"><p>
<a href="gall.using.html">How to download and try this example</a><br>

<pre><b>Usage: ploticus -png pie2.htm
<hr></b>

// <b> specify data using <a href="../doc/getdata.html">proc getdata</a></b>
#proc getdata
data:	Brazil 22
	Columbia 17
	"Costa Rica" 22
	Guatemala 19
	Honduras 12

// <b> render the pie graph using <a href="../doc/pie.html">proc pie</a></b>
#proc pie
datafield: 2
labelfield: 1
labelmode: legend
outlinedetails: none
center: 2 2
radius: 0.6
colors: dullyellow drabgreen pink powderblue lavender
labelfarout: 1.3

// <b> render the legend using entries made above, using <a href="../doc/legend.html">proc legend</a></b>
#proc legend
location: 3 2.6