Index: trunk/BNC/src/rinex/dopplot.cpp
===================================================================
--- trunk/BNC/src/rinex/dopplot.cpp	(revision 6272)
+++ trunk/BNC/src/rinex/dopplot.cpp	(revision 6273)
@@ -61,5 +61,5 @@
 // Constructor
 //////////////////////////////////////////////////////////////////////////////
-t_dopPlot::t_dopPlot(QWidget* parent, t_obsStat* obsStat) 
+t_dopPlot::t_dopPlot(QWidget* parent, const QMap<t_prn, t_plotData>& plotDataMap) 
 : QwtPlot(parent) {
 
@@ -90,9 +90,14 @@
   setAxisTitle(QwtPlot::yLeft,  textNumSat);
   double maxNumSat = 20.0;
-  if (obsStat) {
-    for (int ii = 0; ii < obsStat->_numSat.size(); ii++) {
-      if (maxNumSat < obsStat->_numSat[ii]) {
-        maxNumSat = obsStat->_numSat[ii] + 5;
-      } 
+  if (plotDataMap.size() > 0) {
+    QMapIterator<t_prn, t_plotData> it(plotDataMap);
+    while (it.hasNext()) {
+      it.next();
+      const t_plotData& plotData = it.value();
+      for (int ii = 0; ii < plotData._numSat.size(); ii++) {
+        if (maxNumSat < plotData._numSat[ii]) {
+          maxNumSat = plotData._numSat[ii] + 5;
+        } 
+      }
     }
   }
@@ -106,19 +111,24 @@
   // Curves
   // ------
-  if (obsStat) {
+  if (plotDataMap.size() > 0) {
+    QMapIterator<t_prn, t_plotData> it(plotDataMap);
+    while (it.hasNext()) {
+      it.next();
+      const t_plotData& plotData = it.value();
 
-    QwtPlotCurve* curveNumSat = new QwtPlotCurve(textNumSat);
-    curveNumSat->setXAxis(QwtPlot::xBottom);
-    curveNumSat->setYAxis(QwtPlot::yLeft);
-    curveNumSat->setSamples(obsStat->_mjdX24, obsStat->_numSat);
-    curveNumSat->setPen(QPen(textNumSat.color()));
-    curveNumSat->attach(this);
-
-    QwtPlotCurve* curvePDOP = new QwtPlotCurve(textPDOP);
-    curvePDOP->setXAxis(QwtPlot::xBottom);
-    curvePDOP->setYAxis(QwtPlot::yRight);
-    curvePDOP->setSamples(obsStat->_mjdX24, obsStat->_PDOP);
-    curvePDOP->setPen(QPen(textPDOP.color()));
-    curvePDOP->attach(this);
+      QwtPlotCurve* curveNumSat = new QwtPlotCurve(textNumSat);
+      curveNumSat->setXAxis(QwtPlot::xBottom);
+      curveNumSat->setYAxis(QwtPlot::yLeft);
+      curveNumSat->setSamples(plotData._mjdX24, plotData._numSat);
+      curveNumSat->setPen(QPen(textNumSat.color()));
+      curveNumSat->attach(this);
+     
+      QwtPlotCurve* curvePDOP = new QwtPlotCurve(textPDOP);
+      curvePDOP->setXAxis(QwtPlot::xBottom);
+      curvePDOP->setYAxis(QwtPlot::yRight);
+      curvePDOP->setSamples(plotData._mjdX24, plotData._PDOP);
+      curvePDOP->setPen(QPen(textPDOP.color()));
+      curvePDOP->attach(this);
+    }
   }
   
Index: trunk/BNC/src/rinex/dopplot.h
===================================================================
--- trunk/BNC/src/rinex/dopplot.h	(revision 6272)
+++ trunk/BNC/src/rinex/dopplot.h	(revision 6273)
@@ -8,11 +8,9 @@
 #include "reqcanalyze.h"
 
-class t_obsStat;
-
 class t_dopPlot: public QwtPlot {
  Q_OBJECT
 
 public:
-  t_dopPlot(QWidget* parent, const QMap<t_prn, t_plotData>& plotData);
+ t_dopPlot(QWidget* parent, const QMap<t_prn, t_plotData>& plotDataMap);
 
 private:
Index: trunk/BNC/src/rinex/reqcanalyze.h
===================================================================
--- trunk/BNC/src/rinex/reqcanalyze.h	(revision 6272)
+++ trunk/BNC/src/rinex/reqcanalyze.h	(revision 6273)
@@ -37,4 +37,5 @@
  public:
   QVector<double> _mjdX24;
+  QVector<double> _numSat;
   QVector<double> _PDOP;
   QVector<double> _L1ok;
