Index: /trunk/BNC/src/rinex/reqcanalyze.cpp
===================================================================
--- /trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 4573)
+++ /trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 4574)
@@ -41,4 +41,8 @@
 #include <iostream>
 #include <iomanip>
+
+#include <qwt_plot.h>
+#include <qwt_plot_curve.h>
+
 #include "reqcanalyze.h"
 #include "bncapp.h"
@@ -509,21 +513,19 @@
                                      QMap<QString, QVector<int> >* prnAvail){
 
-  qDebug() << fileName << title;
-
-  QMapIterator<QString, QVector<int> > it(*prnAvail);
-  while (it.hasNext()) {
-    it.next();
-    const QString&      prn    = it.key();
-    const QVector<int>& epochs = it.value();
-    qDebug() << prn << epochs.size();
-  }
-
-  bncApp* app = dynamic_cast<bncApp*>(qApp);
-  if (app->GUIenabled()) {
+  if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
+
+    QwtPlot* plot = new QwtPlot();
+
+    int iC = 0;
+    QMapIterator<QString, QVector<int> > it(*prnAvail);
+    while (it.hasNext()) {
+      it.next();
+      const QString&      prn    = it.key();
+      const QVector<int>& epochs = it.value();
+    }
 
     QVector<QWidget*> plots;
-
+    plots << plot;
     t_graphWin* graphWin = new t_graphWin(0, fileName, plots, 0, 0);
-
     graphWin->show();
 
