3
<em>d.vect.chart</em> displays charts for GRASS vector data in the active frame on the graphics
8
The charts are positioned as follows:
10
<li> vector points: on point position
11
<li> vector lines: on line centers
12
<li> vector areas: on area centroids
15
Bar charts are placed with their lower edge starting from the y-coordinate of the feature being symbolized, and centered with respect to the x-coordinate. The <b>-c</b> flag can be used to center the bar chart in both x and y directions.
17
The 'sizecol' parameter is proportionate to the radius.
19
The optional <b>max_ref</b> parameter accepts a list of values that represent the maximum value for each column listed in the values for the parameter <b>columns</b>. These values are used to create a framed bar plot if <b>ctype</b> is <em>bar</em> (See Example 2).
23
<div class="code"><pre>
24
d.vect.chart map=vectmap columns=cens51,cens61,cens71,cens81
29
Create framed bar graphs of an erodibiliy index from the SPEARFISH dataset.
30
<div class="code"><pre>
31
r.to.vect -s -v in=erode.index out=erode_index feature=area
32
v.extract in=erode_index out=erode_index_ctrds type=centroid
34
d.vect.chart map=erode_index_ctrds ctype=bar columns=cat \
35
size=10 max_ref=12 scale=1.5 colors=yellow
36
d.vect erode_index_ctrds icon=basic/circle fcol=black col=black size=5
39
Example screenshot (zoomed):<br>
40
<img src="d.vect.chart_example.jpg" alt="d.vect.chart example">
44
<em><a href="d.erase.html">d.erase</a>,
45
<a href="d.vect.html">d.vect</a>,
46
<a href="d.vect.thematic.html">d.vect.thematic</a>,
47
<a href="d.what.vect.html">d.what.vect</a>,
48
<a href="d.rast.html">d.rast</a></em>
52
Radim Blazek, ITC-Irst, Trento, Italy
54
<p><i>Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $</i>