MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / plot2

Method plot2

src/scope/scopeplot.cpp:379–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377
378
379void 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
392void scopePlot::plot3(QString curveName,QString yRightLabel)
393{

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected