Changeset 60 for tools/ddd/GUI.cpp


Ignore:
Timestamp:
06/15/09 17:00:57 (15 years ago)
Author:
qweitzel
Message:
comments added for M0 display code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ddd/GUI.cpp

    r59 r60  
    230230  Signal2D->attach(Graph2D);
    231231
    232   //initialize raster
     232  //initialize raster data of M0 display
    233233  double z[6][6];
    234234  for (int i=0; i<6; i++){
     
    239239  Signal2D->setData(SpectrogramDataM0(z));
    240240
     241  //color (z-) axis of M0 display
    241242  colorMap = QwtLinearColorMap(Qt::yellow, Qt::red); 
    242243  Signal2D->setColorMap(colorMap);
    243244
    244   //Graph2D->axisWidget(QwtPlot::yRight)->setTitle("Yo!");
     245  Graph2D->axisWidget(QwtPlot::yRight)->setTitle("Maximum Sample Amplitude (mV)");
    245246  Graph2D->axisWidget(QwtPlot::yRight)->setColorBarEnabled(true);
    246247  Graph2D->axisWidget(QwtPlot::yRight)->setColorMap(Signal2D->data().range(),Signal2D->colorMap());
Note: See TracChangeset for help on using the changeset viewer.