Changeset 4593 in ntrip for trunk/BNC/src/rinex/availplot.cpp


Ignore:
Timestamp:
Aug 30, 2012, 12:32:49 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4592 r4593  
    4747  setAxisScaleDraw(QwtPlot::yLeft, scaleDrawPrn);
    4848
     49  // Symbols
     50  // -------
     51  QwtSymbol* symbolGreen = new QwtSymbol(QwtSymbol::Rect, QBrush(Qt::green),
     52                                         QPen(Qt::green), QSize(4,4));
     53 
    4954  // Curves
    5055  // ------
     
    5964    scaleDrawPrn->_yLabels[iC] = prn;
    6065
     66    double eps = 0.1;
     67
    6168    // L1 ok Curve
    6269    // -----------
    63     QwtSymbol* symbol = new QwtSymbol( QwtSymbol::XCross );
    64     symbol->setSize(4);
    6570    QwtPlotCurve* curve = new QwtPlotCurve(prn);
    66     curve->setSymbol(symbol);
     71    curve->setSymbol(symbolGreen);
    6772    curve->setStyle(QwtPlotCurve::NoCurve);
    6873    curve->setXAxis(QwtPlot::xBottom);
    6974    curve->setYAxis(QwtPlot::yLeft);
    7075    const QVector<double>& xData = availData._L1ok;
    71     QVector<double>        yData(xData.size(), double(iC));
     76    QVector<double>        yData(xData.size(), double(iC)+eps);
    7277    curve->setSamples(xData, yData);
    7378    curve->attach(this);
Note: See TracChangeset for help on using the changeset viewer.