Changeset 4356 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp
- Timestamp:
- Jun 24, 2012, 6:52:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4355 r4356 90 90 if (app->mode() == bncApp::interactive) { 91 91 92 t_polarPlot* plotMP1 = new t_polarPlot(QwtText("MP1"), app->mainWindow()); 92 double maxMP = 0.0; 93 for (int ii = 0; ii < dataMP1->size(); ii++) { 94 double mp = dataMP1->at(ii)->_value; 95 if (maxMP < mp) { 96 maxMP = mp; 97 } 98 } 99 for (int ii = 0; ii < dataMP2->size(); ii++) { 100 double mp = dataMP2->at(ii)->_value; 101 if (maxMP < mp) { 102 maxMP = mp; 103 } 104 } 105 106 qDebug() << maxMP; 107 108 QwtInterval scaleInterval(0.0, maxMP); 109 110 t_polarPlot* plotMP1 = new t_polarPlot(QwtText("MP1"), scaleInterval, 111 app->mainWindow()); 93 112 plotMP1->addCurve(dataMP1); 94 113 95 t_polarPlot* plotMP2 = new t_polarPlot(QwtText("MP2"), app->mainWindow()); 114 t_polarPlot* plotMP2 = new t_polarPlot(QwtText("MP2"), scaleInterval, 115 app->mainWindow()); 96 116 plotMP2->addCurve(dataMP2); 97 117 … … 100 120 plots << plotMP2; 101 121 102 t_graphWin* graphWin = new t_graphWin(0, plots );122 t_graphWin* graphWin = new t_graphWin(0, plots, scaleInterval); 103 123 104 124 graphWin->show();
Note:
See TracChangeset
for help on using the changeset viewer.