Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 1238:4d0ca1ab4cd0
Some work to make spectrum layers (and slice layers generally) zoomable in the frequency axis. Also fixes a number of view id mixups in SliceLayer which broke offset calculations for the x axis scale.
author | Chris Cannam |
---|---|
date | Tue, 07 Feb 2017 14:55:19 +0000 |
parents | dd3901fe8623 |
children | b10bd0611d16 |
comparison
equal
deleted
inserted
replaced
1237:2cc9e0e5df51 | 1238:4d0ca1ab4cd0 |
---|---|
638 if (!m_model) return false; | 638 if (!m_model) return false; |
639 | 639 |
640 min = 0; | 640 min = 0; |
641 max = double(m_model->getHeight()); | 641 max = double(m_model->getHeight()); |
642 | 642 |
643 logarithmic = false; | 643 logarithmic = (m_binScale == BinScale::Log); |
644 unit = ""; | 644 unit = ""; |
645 | 645 |
646 return true; | 646 return true; |
647 } | 647 } |
648 | 648 |