File: legenddriven.html

package info (click to toggle)
ploticus 2.0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,696 kB
  • ctags: 2,035
  • sloc: ansic: 40,100; perl: 456; sh: 186; makefile: 129
file content (81 lines) | stat: -rw-r--r-- 2,249 bytes parent folder | download | duplicates (4)
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
<html>
<head>
<!-- This file has been generated by unroff 1.0, 12/10/01 09:12:28. -->
<!-- Do not edit! -->

<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
-->
</STYLE>
<title>ploticus: legend-driven technique</title>
<body bgcolor=D0D0EE vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550 ><tr>
<td>
  <table cellpadding=2 width=550><tr>
  <td><br><h2>Legend-driven technique</h2></td>
  <td align=right>
  <small>
  <a href="../doc/Welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  <a href="../doc/Welcome.html">Welcome</a> &nbsp; &nbsp;
  <a href="../gallery/index.html">Gallery</a> &nbsp; &nbsp;
  <a href="../doc/Contents.html">Handbook</a> 
  <td></tr></table>
</td></tr>
<td>
<br>
<br>

<title>Manual page for Legend-driven_technique(PL)</title>
</head>
<body>

<p>
"Legend-driven technique" allows 
bar color, scatterplot symbol, etc. to be controlled by a data field.<tt> </tt>
This technique involves defining a legend <i>first</i>, containing information
to associate data field contents with appearance details.<tt> </tt>
Then the plotting is done.<tt> </tt>

<p>
Here is the procedure:
<dl>
<dt><dd><p>
1. For every expected variation (bar color, scatterplot symbol, or whatever) 
set up an explicit legend entry using 
<a href="legendentry.html">
 proc legendentry
</a>
 .  Label, tag, and details attributes should be supplied.<tt> </tt>
The tag will be compared with data field contents.<tt> </tt>
The details attributes control appearance.<tt> </tt>
<dt><dd><p>
2. Plot, using the appropriate attribute.  For example, if you are
doing a bar graph where individual bar colors are controlled by a data
field, you would use <b>proc bars</b> and specify a <tt>colorfield</tt>.<tt> </tt>


<br>
<br>
</td></tr>
<td align=right>
<a href="Welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine &nbsp; <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif">
</center>
</td></tr>
</table>
</dl>
<p><hr>
Markup created by <em>unroff</em> 1.0,&#160;<tt> </tt>&#160;<tt> </tt>December 10, 2001.
</body>
</html>