- changed status to resolved
Plot all channels of Data
Issue #1
resolved
For now, the gui is plotting one channel (channel 0), we need to expand it to all channels.
Ideas: Use template metaprogramming to set PlotWidget, PlotWidget_CH1, . . . , PlotWidget_CH7 following the existing code: int PlotForm::updatePlot(int iGraph) { ui->PlotWidget->graph(iGraph)->setData(time, signal); ui->PlotWidget->xAxis->setRange(time[nPointsInVector - 1] - nPointsInVector/10000.0, nPointsInVector/100.0, Qt::AlignRight ); ui->PlotWidget->replot(); return 0; }
Comments (1)
-
reporter - Log in to comment
adding pointer to handle all window plots, this commit resolves
#1→ <<cset b34c4115ace3>>