@@ -61,14 +61,14 @@ with the colors of the zonal map classes:
6161# Bash
6262``` {bash}
6363g.extension extension=r.boxplot
64- r.boxplot -oc input =elevation zones=landclass96 output=r.boxplot.png
64+ r.boxplot -oc map =elevation zones=landclass96 output=r.boxplot.png
6565```
6666
6767# Python
6868``` {python}
6969gs.run_command("g.extension", extension="r.boxplot")
7070gs.run_command("r.boxplot",
71- input ="elevation",
71+ map ="elevation",
7272 zones="landclass96",
7373 raster_statistics="median,IQR",
7474 output="r.boxplot.png",
@@ -78,6 +78,8 @@ gs.run_command("r.boxplot",
7878
7979![ ] ( images/r.boxplot.png )
8080
81+ For more examples of the different options available in this addon, see [ this tutorial] ( https://ecodiv.earth/post/drawing-boxplots-of-raster-values/#r.boxplot ) .
82+
8183### [ r.series.boxplot] ( https://grass.osgeo.org/grass-stable/manuals/addons/r.series.boxplot.html )
8284
8385` r.series.boxplot ` draws boxplots of a series of input raster maps that might
@@ -155,24 +157,24 @@ also provides an option to group by categories in a second attribute column.
155157# Bash
156158
157159``` {bash}
158- g.extension extension=v.histogram
160+ g.extension extension=v.boxplot
159161
160- v.boxplot -o - r map=bridges column=WIDTH group_by=YEAR_BUILT where="YEAR_BUILT < '1920'" order=ascending plot_output =boxplot_bridges_width_per_year.png
162+ v.boxplot -r map=bridges column=WIDTH group_by=YEAR_BUILT where="YEAR_BUILT < '1920'" order=ascending output =boxplot_bridges_width_per_year.png
161163```
162164
163165# Python
164166
165167``` {python}
166- gs.run_command("g.extension", extension="v.histogram ")
168+ gs.run_command("g.extension", extension="v.boxplot ")
167169
168170gs.run_command("v.boxplot",
169171 map="bridges",
170172 column="WIDTH",
171173 group_by="YEAR_BUILT",
172174 where="YEAR_BUILT < '1920'",
173175 order="ascending",
174- plot_output ="boxplot_bridges_width_per_year.png",
175- flags="or ")
176+ output ="boxplot_bridges_width_per_year.png",
177+ flags="r ")
176178```
177179:::
178180
0 commit comments