- Timestamp:
- Aug 29, 2012, 12:56:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4575 r4576 44 44 #include <qwt_plot.h> 45 45 #include <qwt_plot_curve.h> 46 #include <qwt_symbol.h> 46 47 47 48 #include "reqcanalyze.h" … … 282 283 "", 9.0); 283 284 284 /////emit dspAvailPlot(obsFile->fileName(), "Availability L1", availL1);285 emit dspAvailPlot(obsFile->fileName(), "Availability L1", availL1); 285 286 286 287 if (_log) { … … 521 522 while (it.hasNext()) { 522 523 it.next(); 524 ++iC; 523 525 const QString& prn = it.key(); 524 526 const QVector<int>& epochs = it.value(); 527 528 QVector<QPointF> samples; 529 for (int ii = 0; ii < epochs.size(); ii++) { 530 samples << QPointF(epochs[ii], iC); 531 } 532 533 QwtPlotCurve* curve = new QwtPlotCurve(prn); 534 curve->setStyle( QwtPlotCurve::NoCurve ); 535 QwtSymbol* symbol = new QwtSymbol( QwtSymbol::XCross ); 536 symbol->setSize( 4 ); 537 curve->setSymbol( symbol ); 538 curve->setLegendAttribute( QwtPlotCurve::LegendShowSymbol ); 539 curve->setSamples(samples); 540 curve->attach(plot); 525 541 } 526 542
Note:
See TracChangeset
for help on using the changeset viewer.