Changeset 4593 in ntrip for trunk/BNC/src/rinex/availplot.cpp
- Timestamp:
- Aug 30, 2012, 12:32:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/availplot.cpp
r4592 r4593 47 47 setAxisScaleDraw(QwtPlot::yLeft, scaleDrawPrn); 48 48 49 // Symbols 50 // ------- 51 QwtSymbol* symbolGreen = new QwtSymbol(QwtSymbol::Rect, QBrush(Qt::green), 52 QPen(Qt::green), QSize(4,4)); 53 49 54 // Curves 50 55 // ------ … … 59 64 scaleDrawPrn->_yLabels[iC] = prn; 60 65 66 double eps = 0.1; 67 61 68 // L1 ok Curve 62 69 // ----------- 63 QwtSymbol* symbol = new QwtSymbol( QwtSymbol::XCross );64 symbol->setSize(4);65 70 QwtPlotCurve* curve = new QwtPlotCurve(prn); 66 curve->setSymbol(symbol );71 curve->setSymbol(symbolGreen); 67 72 curve->setStyle(QwtPlotCurve::NoCurve); 68 73 curve->setXAxis(QwtPlot::xBottom); 69 74 curve->setYAxis(QwtPlot::yLeft); 70 75 const QVector<double>& xData = availData._L1ok; 71 QVector<double> yData(xData.size(), double(iC) );76 QVector<double> yData(xData.size(), double(iC)+eps); 72 77 curve->setSamples(xData, yData); 73 78 curve->attach(this);
Note:
See TracChangeset
for help on using the changeset viewer.