| 390 | } |
| 391 | |
| 392 | void scopePlot::plot3(QString curveName,QString yRightLabel) |
| 393 | { |
| 394 | |
| 395 | // axes |
| 396 | plW->setAxisTitle(QwtPlot::yRight,yRightLabel); |
| 397 | plW->enableAxis(QwtPlot::yRight); |
| 398 | curve3->setTitle(curveName); |
| 399 | curve3->setPen(QPen(Qt::green)); |
| 400 | curve3->setYAxis(QwtPlot::yRight); |
| 401 | curve3->setSamples(x.data(), c3.data(), x.size()); |
| 402 | plW->setAxisAutoScale(QwtPlot::yRight); |
| 403 | plW->replot(); |
| 404 | } |
| 405 | |
| 406 | void scopePlot::plot4(QString curveName) |
| 407 | { |