Mapping of physicochemical gradients in mineral systems