~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to display/d.vect.chart/description.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<h2>DESCRIPTION</h2>
2
 
 
3
 
<em>d.vect.chart</em> displays charts for GRASS vector data in the active frame on the graphics 
4
 
monitor.
5
 
 
6
 
<h2>NOTES</h2>
7
 
 
8
 
The charts are positioned as follows:
9
 
<ul>
10
 
<li> vector points: on point position
11
 
<li> vector lines: on line centers
12
 
<li> vector areas: on area centroids
13
 
</ul>
14
 
 
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.
16
 
<br><br>
17
 
The 'sizecol' parameter is proportionate to the radius.
18
 
<br><br>
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).
20
 
<h2>EXAMPLES</h2>
21
 
 
22
 
<h3>Example 1</h3>
23
 
<div class="code"><pre>
24
 
d.vect.chart map=vectmap columns=cens51,cens61,cens71,cens81
25
 
</pre></div>
26
 
 
27
 
<h3>Example 2</h3>
28
 
 
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 
33
 
d.rast aspect
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
37
 
</pre></div>
38
 
 
39
 
Example screenshot (zoomed):<br>
40
 
<img src="d.vect.chart_example.jpg" alt="d.vect.chart example">
41
 
 
42
 
<h2>SEE ALSO</h2>
43
 
 
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>
49
 
 
50
 
<h2>AUTHOR</h2>
51
 
 
52
 
Radim Blazek, ITC-Irst, Trento, Italy
53
 
 
54
 
<p><i>Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $</i>