Changeset 4669 in ntrip
- Timestamp:
- Sep 8, 2012, 6:47:53 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/availplot.cpp
r4668 r4669 210 210 return curve; 211 211 } 212 213 //214 //////////////////////////////////////////////////////////////////////////////215 void t_availPlot::setNumSat(const QVector<double>& _numSatTim,216 const QVector<double>& _numSat) {217 QwtPlotCurve* curve = new QwtPlotCurve("# sat");218 curve->setXAxis(QwtPlot::xBottom);219 curve->setYAxis(QwtPlot::yRight);220 curve->setSamples(_numSatTim, _numSat);221 curve->attach(this);222 } -
trunk/BNC/src/rinex/availplot.h
r4667 r4669 14 14 public: 15 15 t_availPlot(QWidget* parent, QMap<QString, t_availData>* availDataMap); 16 void setNumSat(const QVector<double>& _numSatTim,17 const QVector<double>& _numSat);18 16 19 17 private: -
trunk/BNC/src/rinex/reqcanalyze.cpp
r4668 r4669 220 220 // -------------------- 221 221 try { 222 int iEpo = 0;223 const int step = int( 30.0 / obsFile->interval());224 unsigned numSat = 0;225 _numSat.clear();226 _numSatTim.clear();227 222 while ( (_currEpo = obsFile->nextEpoch()) != 0) { 228 223 229 ++iEpo;230 if (numSat < _currEpo->rnxSat.size()) {231 numSat = _currEpo->rnxSat.size();232 }233 if ( (iEpo % step) == 0 ) {234 if (_numSatTim.size() > 0) {235 _numSatTim << _numSatTim.last();236 _numSat << numSat;237 }238 _numSatTim << _currEpo->tt.mjddec() * 24.0;239 _numSat << numSat;240 numSat = 0;241 }242 243 224 // Loop over all satellites 244 225 // ------------------------ … … 593 574 594 575 t_availPlot* plotA = new t_availPlot(0, &_availDataMap); 595 plotA->setNumSat(_numSatTim, _numSat);596 576 plotA->setTitle(title); 597 577
Note:
See TracChangeset
for help on using the changeset viewer.