thanks a lot for your beautiful project. We are really happy with it in our https://github.com/scgmlz/BornAgain project.
Recently we have migrated from 1.3.2 to 2.0.0. It went smooth except that tick labels for color scale now looks bad in logarithmic scale.
This is how it was
This is how it became
Reduced example can be just the demo from http://qcustomplot.com/index.php/demos/colormapdemo
where you add following code at the end of file
colorScale->setDataScaleType(QCPAxis::stLogarithmic); colorScale->axis()->setNumberFormat("eb"); colorScale->axis()->setNumberPrecision(0); colorScale->axis()->setScaleType(QCPAxis::stLogarithmic);
and also replace line 23 with
colorMap->data()->setCell(xIndex, yIndex, std::abs(z));
to avoid negative values in amplitudes.