Beispiel #1
0
bool SaxsviewImage::minorTicksVisible() const {
  //
  // All axis are in sync, just pick one.
  //
  QwtScaleDraw *draw = p->scales[QwtPlot::xBottom]->scaleDraw();
  return draw->tickLength(QwtScaleDiv::MinorTick) > 0;
}
Beispiel #2
0
bool SaxsviewImage::majorTicksVisible() const {
  QwtScaleDraw *draw = p->scales[QwtPlot::xBottom]->scaleDraw();
  return draw->tickLength(QwtScaleDiv::MajorTick) > 0;
}