| 363 | |
| 364 | |
| 365 | void scopePlot::plot1(QString curveName,QString yLeftLabel) |
| 366 | { |
| 367 | plW->setAxisTitle(QwtPlot::yLeft, yLeftLabel); |
| 368 | plW->setAxisAutoScale(QwtPlot::yLeft); |
| 369 | plW->setAxisAutoScale(QwtPlot::xBottom); |
| 370 | curve1->setTitle(curveName); |
| 371 | curve1->setPen(QPen(Qt::yellow)); |
| 372 | curve1->setYAxis(QwtPlot::yLeft); |
| 373 | curve1->setSamples(x.data(), c1.data(), x.size()); |
| 374 | setupWheels(x.size()); |
| 375 | } |
| 376 | |
| 377 | |
| 378 |