Plot all channels of Data

Issue #1 resolved
Victor Christian Paredes Cauna created an issue

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)

  1. Log in to comment