123456789
Polyline drawFunction(const vector<double>& inValues, double inScaleX, double inScaleY) { Polyline lLine; for(int i = 0; i < inValues.size(); ++i) { lLine += Point(i*inScaleX, inValues[i]*inScaleY); } return lLine; }
const vector<double>& inValues