Changeset 4592 in ntrip
- Timestamp:
- Aug 30, 2012, 12:24:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/availplot.cpp
r4591 r4592 56 56 const QString& prn = it.key(); 57 57 const t_availData& availData = it.value(); 58 const QVector<double>& epochs = availData._L1ok;59 58 60 59 scaleDrawPrn->_yLabels[iC] = prn; 61 60 62 double xData[epochs.size()]; 63 double yData[epochs.size()]; 64 for (int ii = 0; ii < epochs.size(); ii++) { 65 xData[ii] = epochs[ii]; 66 yData[ii] = iC; 67 } 68 61 // L1 ok Curve 62 // ----------- 69 63 QwtSymbol* symbol = new QwtSymbol( QwtSymbol::XCross ); 70 symbol->setSize( 4 ); 71 64 symbol->setSize(4); 72 65 QwtPlotCurve* curve = new QwtPlotCurve(prn); 73 curve->setSymbol( symbol);74 curve->setStyle( QwtPlotCurve::NoCurve);66 curve->setSymbol(symbol); 67 curve->setStyle(QwtPlotCurve::NoCurve); 75 68 curve->setXAxis(QwtPlot::xBottom); 76 69 curve->setYAxis(QwtPlot::yLeft); 77 curve->setSamples(xData, yData, epochs.size()); 70 const QVector<double>& xData = availData._L1ok; 71 QVector<double> yData(xData.size(), double(iC)); 72 curve->setSamples(xData, yData); 78 73 curve->attach(this); 79 74 }
Note:
See TracChangeset
for help on using the changeset viewer.