1d.vect.chart(1)               Grass User's Manual              d.vect.chart(1)
2
3
4

NAME

6       d.vect.chart   -  Displays  charts  of  GRASS vector data in the active
7       frame on the graphics monitor
8

KEYWORDS

10       display
11

SYNOPSIS

13       d.vect.chart
14       d.vect.chart help
15       d.vect.chart [-cl] map=name  [type=string[,string,...]]    [layer=inte‐
16       ger]    [ctype=string]   columns=string[,string,...]   [sizecol=string]
17       [size=integer]        [scale=float]        [ocolor=string]        [col‐
18       ors=string[,string,...]]     [max_ref=float[,float,...]]    [--verbose]
19       [--quiet]
20
21   Flags:
22       -c
23           Center the bar chart around a data point
24
25       -l
26           Create legend information and send to stdout
27
28       --verbose
29           Verbose module output
30
31       --quiet
32           Quiet module output
33
34   Parameters:
35       map=name
36           Name of input vector map
37
38       type=string[,string,...]
39           Type
40           Feature type(s)
41           Options: point,line,boundary,centroid,area
42           Default: point,line,boundary,centroid
43
44       layer=integer
45           Layer number
46           A single vector map can be connected to multiple  database  tables.
47           This number determines which table to use.
48           Default: 1
49
50       ctype=string
51           Chart type
52           Options: pie,bar
53           Default: pie
54
55       columns=string[,string,...]
56           Attribute columns containing data
57
58       sizecol=string
59           Column used for pie chart size
60
61       size=integer
62           Size of chart (diameter for pie, total width for bar)
63           Default: 40
64
65       scale=float
66           Scale for size (to get size in pixels)
67           Default: 1
68
69       ocolor=string
70           Outline color
71           Default: black
72
73       colors=string[,string,...]
74           Colors used to fill charts
75
76       max_ref=float[,float,...]
77           Maximum value used for bar plot reference
78

DESCRIPTION

80       d.vect.chart  displays charts for GRASS vector data in the active frame
81       on the graphics monitor.
82

NOTES

84       The charts are positioned as follows:
85
86                      vector points: on point position
87
88                      vector lines: on line centers
89
90                      vector areas: on area centroids
91       Bar charts are placed with their lower edge starting from the y-coordi‐
92       nate  of the feature being symbolized, and centered with respect to the
93       x-coordinate. The -c flag can be used to center the bar chart in both x
94       and y directions.
95       The 'sizecol' parameter is proportionate to the radius.
96       The  optional max_ref parameter accepts a list of values that represent
97       the maximum value for each column listed in the values for the  parame‐
98       ter columns. These values are used to create a framed bar plot if ctype
99       is bar (See Example 2).
100

EXAMPLES

102   Example 1
103
104       d.vect.chart map=vectmap columns=cens51,cens61,cens71,cens81
105
106
107   Example 2
108       Create framed bar graphs of an  erodibiliy  index  from  the  SPEARFISH
109       dataset.
110       r.to.vect -s -v in=erode.index out=erode_index feature=area
111       v.extract in=erode_index out=erode_index_ctrds type=centroid
112       d.rast aspect
113       d.vect.chart map=erode_index_ctrds ctype=bar columns=cat \
114                    size=10 max_ref=12 scale=1.5 colors=yellow
115       d.vect erode_index_ctrds icon=basic/circle fcol=black col=black size=5
116        Example screenshot (zoomed):
117

SEE ALSO

119       d.erase, d.vect, d.vect.thematic, d.what.vect, d.rast
120

AUTHOR

122       Radim Blazek, ITC-Irst, Trento, Italy
123
124       Last changed: $Date: 2007-06-02 22:46:58 +0200 (Sat, 02 Jun 2007) $
125
126       Full index
127
128       © 2003-2008 GRASS Development Team
129
130
131
132GRASS 6.3.0                                                    d.vect.chart(1)
Impressum