Changeset 60 for tools/ddd/GUI.cpp
- Timestamp:
- 06/15/09 17:00:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ddd/GUI.cpp
r59 r60 230 230 Signal2D->attach(Graph2D); 231 231 232 //initialize raster 232 //initialize raster data of M0 display 233 233 double z[6][6]; 234 234 for (int i=0; i<6; i++){ … … 239 239 Signal2D->setData(SpectrogramDataM0(z)); 240 240 241 //color (z-) axis of M0 display 241 242 colorMap = QwtLinearColorMap(Qt::yellow, Qt::red); 242 243 Signal2D->setColorMap(colorMap); 243 244 244 //Graph2D->axisWidget(QwtPlot::yRight)->setTitle("Yo!");245 Graph2D->axisWidget(QwtPlot::yRight)->setTitle("Maximum Sample Amplitude (mV)"); 245 246 Graph2D->axisWidget(QwtPlot::yRight)->setColorBarEnabled(true); 246 247 Graph2D->axisWidget(QwtPlot::yRight)->setColorMap(Signal2D->data().range(),Signal2D->colorMap());
Note:
See TracChangeset
for help on using the changeset viewer.