void IncrementalPlot::clearPoints() { CurveData *data = static_cast<CurveData *>( d_curve->data() ); data->clear(); replot(); }
void BrainPlot::clearPoints(int Channel) { CurveData *data = static_cast<CurveData *>( d_curves[Channel]->data() ); data->clear(); replot(); }
void Wykres2d::wyczysc() { CurveData *data = static_cast<CurveData *> (plot2dCurve->data()); data->clear(); punkty.clear(); plot2d->replot(); }
void Wykres2d::aktualizuj() { CurveData *data = static_cast<CurveData *> (plot2dCurve->data()); data->clear(); for (int i = 0; i < punkty.size(); i++) { data->append(punkty[i]); } plot2d->replot(); }