| 45 | PlotWidget *PlotComponent::plot(int idx) { return m_plots[idx]; } |
| 46 | |
| 47 | QPair<double, double> PlotComponent::xInterval() |
| 48 | { |
| 49 | double min = m_plots[0]->xAxis()->min(); |
| 50 | double max = m_plots[0]->xAxis()->max(); |
| 51 | return QPair<double, double>(min, max); |
| 52 | } |
| 53 | |
| 54 | void PlotComponent::replot() |
| 55 | { |