[general]
name=Geochemistry Plotting Tools
qgisMinimumVersion=3.24
qgisMaximumVersion=4.99
description=Create spider diagrams, discrimination diagrams, and custom XY plots for geochemical data
version=0.0.5
author=Mark Jessell, Julien Perret (University of Western Australia)
email=mark.jessell@uwa.edu.au; julien.perret@uwa.edu.au

about=A simple geochemistry plotting tool for QGIS that creates spider diagrams, tectonic discrimination/classification diagrams, custom XY and ternary plots, mineral classification plots, and petrophysics cross-plots with different normalisation options. Developed for UWA EART3343 Lab exercises.

tracker=https://github.com/swaxi/geochem-plots/issues
repository=https://github.com/swaxi/geochem-plots

changelog=0.0.5
     0.0.5 2026-07
       **Dependency Harmonisation & Qt6 Fixes**
       * Declared explicit numpy/matplotlib version ranges in requirements.txt, harmonised with the GEOL-QMAPS and Stereoplot plugins (numpy>=1.26.4,<2.0 ; matplotlib>=3.7,<3.12), so installing all three on the same QGIS Python environment converges on one mutually compatible dependency set.
       * Fixed a bug where a missing matplotlib installation crashed at import time instead of degrading gracefully (an unconditional matplotlib.colors import sat outside the intended try/except guard).
       * Fixed a Qt6/QGIS4 compatibility bug: QAction is now imported with a Qt5/Qt6-safe fallback (previously imported only from QtWidgets, which raises ImportError under Qt6 since QAction moved to QtGui).
       * Added the supportsQt6=True declaration to this file, now that Qt6/QGIS4 compatibility has been verified.
       * Fixed a copy-paste error in the README that referred to this plugin as "GEOL-QMAPS" in the installation instructions.

       **New Features**
       * Add Geochemical Differentiation of Sedimentary Rocks ternary diagram (Hasterok et al. 2018, after Mason 1966), with a first-screening check for required oxide fields and a below-detection-limit (negative value) handling option
       * Add category mean +/- 2 sigma statistics overlay (all plot tabs), toggled live from the interactive style panel: shows each category's mean +/- 2 sigma with individual samples faded behind it, or replaced by a semi-transparent contour-less envelope, with adjustable background opacity and error bar/marker thickness; the mean marker follows bubble sizing when active and stays in sync with the category's colour/marker
       * Add per-category drawing (z-stack) order control to the interactive style panel
       * Add hollow/full symbol fill option (white fill, coloured outline) to the interactive style panel
       * Add interactive per-category style panel (colour, marker, size, transparency) with save/load/reset/delete templates, replacing the old style JSON file
       * Add "no category" option to plot all points with a single symbol
       * Add bubble plots: scale symbol size by a chosen field (linear, log10 or exponential scaling), available for every plot type
       * Add Filter Layer to Selected / Clear Filter buttons to turn a plot selection into a QGIS layer filter
       * Fix Ti vs Zr (Pearce & Cann 1973) diagram and add automatic ppm/ppb/wt pct/oxide unit conversion across all plots
       * Recognise many more elements and oxides in Custom XY plots
       * Add Data Preprocessing sub-tab to Custom XY for below-detection-limit (negative value) handling, with substitution options and a review/histogram tool
       * Add plot-type dropdown to the Minerals tab, ready for future classification schemes
       * Improve point label readability (white background) and stacking order (always drawn above points)
       * Various dock panel usability fixes: horizontal scrolling, tabs resize to content, tighter control alignment
    0.0.4 
       * Allow selection of plotted points to update map selections
       * Assign field labels to points
       * Add labels to selected points in plots   
       * Allow symbol choices to be saved to and read from file 
       * Add popup label when cursor near a point   
       * Selected points plot ontop on map layer   
       * Custom triangle plot added   
       * Add Sullivan 2020 Apatite classification  
       * Add density vs magnetic susceptibility plot    
    0.0.3 
       * Add Winchester & Floyd 1977 plot
       * Allow any numeric field for Custom xy plots
       * Allow field names with Na_Sodium naming convention
    0.0.2 
       * Fix QT6 issues for QGIS 4
    0.0.1 - Initial release
       * Spider diagrams with multiple normalization options
       * 7 discrimination diagrams
       * Custom XY plotting with REE normalization

tags=geochemistry,plotting,spider diagram,REE,discrimination,petrology,geology

homepage=https://github.com/swaxi/geochem-plots
category=Analysis
icon=icon.svg
experimental=False
deprecated=False
