Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.h @ 531:0bd0b517e795
* Make a start on logarithmic vertical scale in colour 3d plot
author | Chris Cannam |
---|---|
date | Mon, 18 May 2009 13:55:47 +0000 |
parents | f8b98f63f200 |
children | 188049db73fa |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h Mon Mar 30 13:47:00 2009 +0000 +++ b/layer/Colour3DPlotLayer.h Mon May 18 13:55:47 2009 +0000 @@ -97,6 +97,17 @@ void setColourMap(int map); int getColourMap() const; + enum BinScale { + LinearBinScale, + LogBinScale + }; + + /** + * Specify the scale for the y axis. + */ + void setBinScale(BinScale); + BinScale getBinScale() const; + void setNormalizeColumns(bool n); bool getNormalizeColumns() const; @@ -142,6 +153,7 @@ ColourScale m_colourScale; bool m_colourScaleSet; int m_colourMap; + BinScale m_binScale; bool m_normalizeColumns; bool m_normalizeVisibleArea; bool m_invertVertical;