Index: trunk/BNC/src/rinex/graphwin.cpp
===================================================================
--- trunk/BNC/src/rinex/graphwin.cpp	(revision 4306)
+++ trunk/BNC/src/rinex/graphwin.cpp	(revision 4307)
@@ -39,6 +39,4 @@
  * -----------------------------------------------------------------------*/
 
-#include <iostream>
-
 #include "graphwin.h"
 #include "polarplot.h"
@@ -46,18 +44,13 @@
 using namespace std;
 
-
 // Constructor
 ////////////////////////////////////////////////////////////////////////////
-t_graphWin::t_graphWin(QWidget* parent) : QDialog(parent) {
+t_graphWin::t_graphWin(QWidget* parent, const QVector<t_polarPlot*>& plots) :
+ QDialog(parent) {
 
-  setWindowTitle(tr("Plot"));
+  setWindowTitle(tr("BNC Plot"));
 
   int ww = QFontMetrics(font()).width('w');
-  setMinimumSize(80*ww, 40*ww);
-
-  // Multipath Plots
-  // ---------------
-  _plotMP1 = new t_polarPlot(this);
-  _plotMP2 = new t_polarPlot(this);
+  setMinimumSize(plots.size()*40*ww, 40*ww);
 
   // Buttons
@@ -70,6 +63,7 @@
   // ------
   QHBoxLayout* plotLayout = new QHBoxLayout;
-  plotLayout->addWidget(_plotMP1);
-  plotLayout->addWidget(_plotMP2);
+  for (int ip = 0; ip < plots.size(); ip++) {
+    plotLayout->addWidget(plots[ip]);
+  }
 
   QHBoxLayout* buttonLayout = new QHBoxLayout;
Index: trunk/BNC/src/rinex/graphwin.h
===================================================================
--- trunk/BNC/src/rinex/graphwin.h	(revision 4306)
+++ trunk/BNC/src/rinex/graphwin.h	(revision 4307)
@@ -33,22 +33,20 @@
 class t_graphWin : public QDialog {
 
-  Q_OBJECT
+ Q_OBJECT
 
-  public:
-    t_graphWin(QWidget* parent);
-    ~t_graphWin();
+ public:
+  t_graphWin(QWidget* parent, const QVector<t_polarPlot*>& plots);
+  ~t_graphWin();
 
-  signals:
+ signals:
 
-  private slots:
-    void slotOK();
+ private slots:
+  void slotOK();
 
-  protected:
-    virtual void closeEvent(QCloseEvent *);
+ protected:
+  virtual void closeEvent(QCloseEvent *);
 
-  private:
-   QPushButton* _buttonOK;
-   t_polarPlot* _plotMP1;
-   t_polarPlot* _plotMP2;
+ private:
+  QPushButton* _buttonOK;
 };
 
Index: trunk/BNC/src/rinex/reqcanalyze.cpp
===================================================================
--- trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 4306)
+++ trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 4307)
@@ -47,4 +47,5 @@
 #include "bncpostprocess.h"
 #include "graphwin.h"
+#include "polarplot.h"
 
 using namespace std;
@@ -83,5 +84,9 @@
 ////////////////////////////////////////////////////////////////////////////
 void t_reqcAnalyze::slotDisplayGraph() {
-  t_graphWin* graphWin = new t_graphWin(0);
+  QVector<t_polarPlot*> plots;
+  t_polarPlot* plotMP1 = new t_polarPlot(0); plots << plotMP1;
+  t_polarPlot* plotMP2 = new t_polarPlot(0); plots << plotMP2;
+
+  t_graphWin* graphWin = new t_graphWin(0, plots);
   graphWin->show();
 }
