Skip to content

Commit

Permalink
v.histogram: update content to match new name (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
veroandreo committed Apr 18, 2024
1 parent a01b675 commit 32336ef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/vector/v.histogram/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MODULE_TOPDIR = ../..

PGM = d.vect.colhist
PGM = v.histogram

include $(MODULE_TOPDIR)/include/Make/Script.make

Expand Down
10 changes: 5 additions & 5 deletions src/vector/v.histogram/v.histogram.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<h2>DESCRIPTION</h2>

<p>
<em>d.vect.colhist</em> draws a histogram of the values in a vector
<em>map</em> attribute <em>column</em>. The user use the <em>where</em>
<em>v.histogram</em> draws a histogram of the values in a vector
map attribute column. Users can use the <b>where</b>
option to only select a subset of the attribute table and can determine the
number of <em>bins</em> (bars) used for the histogram. The <em>plot_output</em>
number of <b>bins</b> (bars) used for the histogram. The <b>plot_output</b>
parameter determines whether the result is displayed on screen (default) or
exported to a graphics file.

Expand All @@ -18,12 +18,12 @@ <h2>EXAMPLE</h2>

Show the histogram of median age values in the census block map:
<div class="code"><pre>
d.vect.colhist map=censusblk_swwake column=MEDIAN_AGE where="TOTAL_POP>0"
v.histogram map=censusblk_swwake column=MEDIAN_AGE where="TOTAL_POP>0"
</pre></div>

<center>
<img src="d_vect_colhist.png" border="1"><br>
Histogram of median age values of census blocks
Histogram of median age values in census blocks
</center>

<h2>AUTHOR</h2>
Expand Down
8 changes: 4 additions & 4 deletions src/vector/v.histogram/v.histogram.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
############################################################################
#
# MODULE: d.vect.colhist
# MODULE: v.histogram
# AUTHOR: Moritz Lennert
# PURPOSE: Draws the histogram of values in a vector attribute column
#
Expand All @@ -14,17 +14,17 @@

# %module
# % description: Draws the histogram of values in a vector attribute column
# % keyword: display
# % keyword: vector
# % keyword: geology
# % keyword: plot
# % keyword: histogram
# %end
# %option G_OPT_V_MAP
# %end
# %option G_OPT_V_FIELD
# %end
# %option G_OPT_DB_COLUMN
# % key: column
# % description: Attribute column containing azimuth
# % description: Attribute column to create histogram from
# % required: yes
# %end
# %option G_OPT_DB_WHERE
Expand Down
1 change: 0 additions & 1 deletion src/vector/v.scatterplot/v.scatterplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

# %module
# % description: Plots the values of two columns in the attribute table of an input vector layer in a scatterplot.
# % keyword: display
# % keyword: vector
# % keyword: plot
# % keyword: scatterplot
Expand Down

0 comments on commit 32336ef

Please sign in to comment.