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

Method plot1DUpdate

src/scope/scopeplot.cpp:264–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263
264void scopePlot::plot1DUpdate(double *data)
265{
266 for (long i = 0; i < c1.size(); i++)
267 {
268 c1[i]=data[i];
269 }
270 curve1->setSamples(x.data(), c1.data(), x.size());
271 plW->replot();
272}
273
274void scopePlot::plotData(unsigned int size,
275 short int * iData, QString curve1Name,QString yLLabel,

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected