Index: trunk/BNC/src/rinex/dopplot.cpp
===================================================================
--- trunk/BNC/src/rinex/dopplot.cpp	(revision 4682)
+++ trunk/BNC/src/rinex/dopplot.cpp	(revision 4683)
@@ -79,6 +79,16 @@
   // ------
   if (obsStat) {
-    addCurve("# Sat", obsStat->_mjdX24, obsStat->_numSat);
-    addCurve("PDOP",  obsStat->_mjdX24, obsStat->_PDOP);
+
+    QwtPlotCurve* curveNumSat = new QwtPlotCurve("# Sat");
+    curveNumSat->setXAxis(QwtPlot::xBottom);
+    curveNumSat->setYAxis(QwtPlot::yRight);
+    curveNumSat->setSamples(obsStat->_mjdX24, obsStat->_numSat);
+    curveNumSat->attach(this);
+
+    QwtPlotCurve* curvePDOP = new QwtPlotCurve("PDOP");
+    curvePDOP->setXAxis(QwtPlot::xBottom);
+    curvePDOP->setYAxis(QwtPlot::yLeft);
+    curvePDOP->setSamples(obsStat->_mjdX24, obsStat->_PDOP);
+    curvePDOP->attach(this);
   }
   
@@ -88,16 +98,2 @@
 }
 
-// Add Curve
-//////////////////////////////////////////////////////////////////////////////
-QwtPlotCurve* t_dopPlot::addCurve(const QString& name, 
-                                  const QVector<double>& xData,
-                                  const QVector<double>& yData) {
-
-  QwtPlotCurve* curve = new QwtPlotCurve(name);
-  curve->setXAxis(QwtPlot::xBottom);
-  curve->setYAxis(QwtPlot::yLeft);
-  curve->setSamples(xData, yData);
-  curve->attach(this);
-
-  return curve;
-}
Index: trunk/BNC/src/rinex/dopplot.h
===================================================================
--- trunk/BNC/src/rinex/dopplot.h	(revision 4682)
+++ trunk/BNC/src/rinex/dopplot.h	(revision 4683)
@@ -16,7 +16,4 @@
 
 private:
-  QwtPlotCurve* addCurve(const QString& name,
-                         const QVector<double>& xData, 
-                         const QVector<double>& yData);
 };
 
