Monday, 15 July 2019

statistics - How to create a x-y scatterplot from attributes in QGIS 2.0?


There are a few old packages that allow the creation of x-y scatter plots from attributes in vector data


(Scattergram for 1.7) http://plugins.qgis.org/plugins/scattergrammidentify/


(SPQR for very early editions) http://www.maths.lancs.ac.uk/~rowlings/Software/Spqr/


But does anyone know of a package for 2.0 that would do this? or a way to rig up the old ones?


Thanks



Answer



There are already many plugins which use the Python module matplotlib.


enter image description here


(Midvatten here)



If you know Python, it is not very difficult to use the Python console or a Python script in the Processing Toolbox.


enter image description here


In the same way, you can use a R script in the Processing Toolbox.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...