Changeset 6422 in ntrip
- Timestamp:
- Dec 23, 2014, 2:23:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6415 r6422 519 519 void t_reqcAnalyze::preparePlotData(const t_rnxObsFile* obsFile) { 520 520 521 QString mp1Title = "Multipath\n"; 522 QString mp2Title = "Multipath\n"; 523 QString snr1Title = "Signal-to-Noise Ratio\n"; 524 QString snr2Title = "Signal-to-Noise Ratio\n"; 525 521 526 bncSettings settings; 522 523 527 QStringList signalsOpt = settings.value("reqcSkyPlotSignals").toString().split(" ", QString::SkipEmptyParts); 524 528 QMap<char, QVector<QString> > signalsMap; … … 528 532 for (int jj = 1; jj < hlp.size(); jj++) { 529 533 signalsMap[hlp[0].toAscii().constData()[0]] << hlp[jj]; 530 } 531 } 532 } 533 534 qDebug() << signalsMap; 534 if (jj == 1) { 535 mp1Title += hlp[0] + ":" + hlp[jj] + " "; 536 snr1Title += hlp[0] + ":" + hlp[jj] + " "; 537 } 538 else if (jj == 2) { 539 mp2Title += hlp[0] + ":" + hlp[jj] + " "; 540 snr2Title += hlp[0] + ":" + hlp[jj] + " "; 541 } 542 } 543 } 544 } 535 545 536 546 … … 541 551 bool plotSBAS = false; 542 552 bool plotBDS = false; 543 QString mp1Title = ": MP";544 QString mp2Title = ": MP";545 QString snr1Title = ": SNR";546 QString snr2Title = ": SNR";547 553 char freq1 = '1'; 548 554 char freq2 = '2'; … … 581 587 return; 582 588 } 583 mp1Title += freq1;584 mp2Title += freq2;585 snr1Title += freq1;586 snr2Title += freq2;587 588 589 QVector<t_polarPoint*>* dataMP1 = new QVector<t_polarPoint*>; 589 590 QVector<t_polarPoint*>* dataMP2 = new QVector<t_polarPoint*>; … … 693 694 QVector<QWidget*> plots; 694 695 if (data1) { 695 t_polarPlot* plot1 = new t_polarPlot(QwtText(title1), scaleInterval, 696 BNC_CORE->mainWindow()); 696 QwtText title(title1); 697 QFont font = title.font(); font.setPointSize(font.pointSize()*0.8); title.setFont(font); 698 t_polarPlot* plot1 = new t_polarPlot(title, scaleInterval, BNC_CORE->mainWindow()); 697 699 plot1->addCurve(data1); 698 700 plots << plot1; 699 701 } 700 702 if (data2) { 701 t_polarPlot* plot2 = new t_polarPlot(QwtText(title2), scaleInterval, 702 BNC_CORE->mainWindow()); 703 QwtText title(title2); 704 QFont font = title.font(); font.setPointSize(font.pointSize()*0.8); title.setFont(font); 705 t_polarPlot* plot2 = new t_polarPlot(title, scaleInterval, BNC_CORE->mainWindow()); 703 706 plot2->addCurve(data2); 704 707 plots << plot2;
Note:
See TracChangeset
for help on using the changeset viewer.