Changeset 4588 in ntrip for trunk/BNC


Ignore:
Timestamp:
Aug 29, 2012, 7:03:48 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/availplot.cpp

    r4587 r4588  
    7878    curve->attach(this);
    7979  }
     80 
     81  QList<double> ticks[QwtScaleDiv::NTickTypes];
     82  QList<double> &majorTicks = ticks[QwtScaleDiv::MajorTick];
     83  for (int iPrn = 1; iPrn <= 32; iPrn++) {
     84    majorTicks << iPrn;
     85  }
     86  QwtScaleDiv yScaleDiv(majorTicks.first()-0.5, majorTicks.last()+0.5, ticks );
     87  setAxisScaleDiv(QwtPlot::yLeft, yScaleDiv);
    8088
    8189  // Important !!!
Note: See TracChangeset for help on using the changeset viewer.