| 377 | |
| 378 | |
| 379 | void scopePlot::plot2(QString curveName) |
| 380 | { |
| 381 | |
| 382 | // axes |
| 383 | plW->setAxisAutoScale(QwtPlot::yLeft); |
| 384 | plW->enableAxis(QwtPlot::yLeft); |
| 385 | curve2->setTitle(curveName); |
| 386 | curve2->setPen(QPen(Qt::red)); |
| 387 | curve2->setYAxis(QwtPlot::yLeft); |
| 388 | curve2->setSamples(x.data(), c2.data(), x.size()); |
| 389 | plW->replot(); |
| 390 | } |
| 391 | |
| 392 | void scopePlot::plot3(QString curveName,QString yRightLabel) |
| 393 | { |