Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.
NAME
d.histogram - Displays a histogram in the form of a pie or bar chart for a user-specified raster map.
KEYWORDS
display, histogram, statistics
SYNOPSIS
d.histogram
d.histogram help
d.histogram [-nqC] map=name [style=string] [color=name] [bgcolor=name] [nsteps=integer] [--verbose] [--quiet]
Flags:
- -n
- Display information for null cells
- -q
- Gather the histogram quietly
- -C
- Report for ranges defined in cats file (fp maps only)
- --verbose
- Verbose module output
- --quiet
- Quiet module output
Parameters:
- map=name
- Raster map for which histogram will be displayed
- style=string
- Indicate if a pie or bar chart is desired
- Options: pie,bar
- Default: bar
- color=name
- Color for text and axes
- Either a standard color name or R:G:B triplet
- Default: black
- bgcolor=name
- Background color
- Either a standard GRASS color, R:G:B triplet, or "none"
- Default: white
- nsteps=integer
- Number of steps to divide the data range into (fp maps only)
- Default: 255
DESCRIPTION
d.histogram displays the category-value distribution for a
user-specified raster map layer, in the form of a bar chart or a pie chart.
The display will be displayed in the active display frame on the graphics
monitor, using the colors in the raster map layer's color table. The
program determines the raster map's category value distribution by counting
cells.
NOTES
d.histogram respects the current geographic region settings
and the current MASK (if one exists).
d.histogram uses the colors in the map's color look-up table
(i.e., the map's colr or colr2 file).
SEE ALSO
d.colors,
d.colortable,
d.frame,
d.graph,
d.linegraph,
d.polar,
g.region,
r.stats
AUTHOR
Dave Johnson
DBA Systems, Inc.
10560 Arrowhead Drive
Fairfax, Virginia 22030
Last changed: $Date: 2011-11-08 03:23:06 -0800 (Tue, 08 Nov 2011) $
Main index - display index - Full index
© 2003-2014 GRASS Development Team