EnglishFrenchSpanish

Ad


OnWorks favicon

d.vect.chartgrass - Online in the Cloud

Run d.vect.chartgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command d.vect.chartgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


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

KEYWORDS


display, cartography, chart maps

SYNOPSIS


d.vect.chart
d.vect.chart --help
d.vect.chart [-cl] map=name [type=string[,string,...]] [layer=string]
[chart_type=string] columns=name[,name,...] [size_column=name] [size=integer]
[scale=float] [outline_color=name] [colors=name[,name,...]]
[max_ref=float[,float,...]] [--help] [--verbose] [--quiet] [--ui]

Flags:
-c
Center the bar chart around a data point

-l
Create legend information and send to stdout

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
map=name [required]
Name of vector map
Or data source for direct OGR access

type=string[,string,...]
Input feature type
Options: point, line, boundary, centroid, area
Default: point,line,boundary,centroid

layer=string
Layer number or name
Vector features can have category values in different layers. This number determines
which layer to use. When used with direct OGR access this is the layer name.
Default: 1

chart_type=string
Chart type
Options: pie, bar
Default: pie

columns=name[,name,...] [required]
Attribute columns containing data

size_column=name
Column used for pie chart size

size=integer
Size of chart (diameter for pie, total width for bar)
Default: 40

scale=float
Scale for size (to get size in pixels)
Default: 1

outline_color=name
Outline color
Either a standard color name or R:G:B triplet
Default: black

colors=name[,name,...]
Colors used to fill charts
Either a standard color name or R:G:B triplet
Default: black

max_ref=float[,float,...]
Maximum value used for bar plot reference

DESCRIPTION


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

NOTES


The charts are positioned as follows:

· vector points: on point position,

· vector lines: on line centers,

· vector areas: on area centroids.
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 -c flag can be used
to center the bar chart in both x and y directions.

The ’sizecol’ parameter is proportionate to the radius.

The optional max_ref parameter accepts a list of values that represent the maximum value
for each column listed in the values for the parameter columns. These values are used to
create a framed bar plot if chart_type is bar (See Example 2).

EXAMPLES


Example 1
Pie-chart of monthly winter precipitation (North Carolina sample dataset):
g.region vector=nc_state -p
d.vect nc_state
d.vect.chart precip_30ynormals chart_type=pie columns=nov,dec,jan,feb -l
2D pie-chart of monthly winter precipitation in North Carolina

Example 2
Bar-chart of different census map values:
d.vect.chart map=vectmap columns=cens51,cens61,cens71,cens81 chart_type=bar

Example 3
Creation of framed bar charts of an erodibiliy index from the Spearfish sample dataset:
g.region raster=erode.index -p
r.to.vect -s input=erode.index output=erode_index type=area
v.extract input=erode_index output=erode_index_ctrds type=centroid
d.rast aspect
d.vect.chart map=erode_index_ctrds chart_type=bar columns=cat \
size=10 max_ref=12 scale=0.05 colors=yellow
d.vect erode_index_ctrds icon=basic/circle fcol=black col=black size=5
Bar charts of an erodibiliy index (spatial subset)

Use d.vect.chartgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 3
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 4
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 5
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 6
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • More »

Linux commands

  • 1
    a2j
    a2j
    a2j - Wrapper script to simulate
    a2jmidid's non-DBUS behaviour though
    a2jmidid actually being in DBUS mode ...
    Run a2j
  • 2
    a2jmidid
    a2jmidid
    a2jmidid - JACK MIDI daemon for ALSA
    MIDI ...
    Run a2jmidid
  • 3
    corebird
    corebird
    corebird - Native Gtk+ Twitter client
    for the Linux desktop. ...
    Run corebird
  • 4
    coredumpctl
    coredumpctl
    coredumpctl - Retrieve coredumps from
    the journal ...
    Run coredumpctl
  • 5
    ganyremotex
    ganyremotex
    ganyremote - GTK+ frontend for
    anyRemote ...
    Run ganyremotex
  • 6
    gap
    gap
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap
  • More »

Ad