M-Alejo / fieldStats

A QGIS pluggin for calculate field stats and make a histogram and boxplot for numeric fields in vector layers
Other
0 stars 0 forks source link

Field Stats

QGIS.org

The Field Stats Plugin allows you calculate basic statistics and create a histogram and boxplot for numeric fields in vector layers.

Your QGIS installation must have pandas and matplotlib

How to install

Plot interactions

The next images show you how to install Plot interactions Plot interactions Plot interactions

How to use

Field Stats can make the stats and graph for all features or only selected features and you can round the statistics to desire decimal

All Features

Plot interactions

Selected Features

Plot interactions

Next image resume how to use

Plot interactions

How to install Pandas and matplotlib library in Windows

Your QGIS installation must have pandas and matplotlib, in Windows with the OSGeo installer follow the next steps if don't have the libraries.

Search the OSGeo4W in windows menu and select Setup option

Plot interactions

Select advanced install and clic in next (siguiente)

Plot interactions

Select install from internet and clic in next (siguiente)

Plot interactions

Select your root directory, most of the time it set correct root and you don't have to change, it correspond to first installation of QGIS

Plot interactions

Select your package directory, most of the time it set correct, and you don't have to change, it correspond to first installation of QGIS

Plot interactions

Select Use System Proxy Settings and clic in next (siguiente)

Plot interactions

Select the first option to download the packages from that URL and clic next (siguiente)

Plot interactions

Type Pandas or Matplolib, to install the library, when you don't have the library it appears like Source, clic in Source to change for Install, If you already installed you see Keep

Plot interactions

Wait to installation to finish and clic on Finish Plot interactions

If you are using the plugin on MacOS or Linux install the libraries using pip, conda or mamba command, its on your hands. Better if you have installed QGIS into a virtual env.