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

Method plot1

src/scope/scopeplot.cpp:365–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363
364
365void 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

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected