| 292 | |
| 293 | |
| 294 | void scopePlot::add1(short int *data, unsigned long len,QString name,QString yLeftLabel) |
| 295 | { |
| 296 | x.resize(len); |
| 297 | c1.resize(len); |
| 298 | for (unsigned long i = 0; i < len; i++) |
| 299 | { |
| 300 | |
| 301 | x[i]=(double)(i+xOffset)*xScaleMul; |
| 302 | c1[i]=(double)data[i]; |
| 303 | } |
| 304 | plot1(name,yLeftLabel); |
| 305 | } |
| 306 | |
| 307 | void scopePlot::add1(double *data, unsigned long len,QString curveName,QString yLeftLabel) |
| 308 | { |