15 #ifndef BORNAGAIN_GUI_VIEW_PLOTUTIL_RANGEUTILS_H
16 #define BORNAGAIN_GUI_VIEW_PLOTUTIL_RANGEUTILS_H
21 #include <qcustomplot.h>
30 QCPColorGradient
getGradient(
const QString& gradientName);
51 void setLogz(QCPColorScale* scale,
bool isLogz);
52 void setLogz(QCPAxis* axis,
bool isLogz);
The ColorMap class presents 2D intensity data from IntensityDataItem as color map.
Provides few helper functions for ColorMapPlot.
QCPRange itemYrange(const IntensityDataItem *item)
Returns y-axis range.
QCPColorGradient itemGradient(const IntensityDataItem *item)
QCPRange itemZoomY(const IntensityDataItem *item)
Returns y-axis vizible range (zoom).
void setLogz(QCPColorScale *scale, bool isLogz)
QCPColorGradient getGradient(const QString &gradientName)
void setDefaultMargins(QCustomPlot *customPlot)
Sets default margins for axes rectangle plot.
QCPRange itemXrange(const IntensityDataItem *item)
Returns x-axis range.
QCPRange itemDataRange(const IntensityDataItem *item)
Returns z-axis data range.
QCPRange itemDataZoom(const IntensityDataItem *item)
Returns z-axis visible range (zoom).
QCPRange itemZoomX(const IntensityDataItem *item)
Returns x-axis vizible range (zoom).