@@ -28,8 +28,8 int main(int argc, char *argv[]) | |||
|
28 | 28 | |
|
29 | 29 | for (int x = 0; x < numPoints; ++x) { |
|
30 | 30 | series0->add(x,0); |
|
31 |
series1->add(x, |
|
|
32 |
series2->add(x, |
|
|
31 | series1->add(x, abs(sin(PI/50*x)*100)); | |
|
32 | series2->add(x, abs(cos(PI/50*x)*100)); | |
|
33 | 33 | series3->add(x,100); |
|
34 | 34 | } |
|
35 | 35 |
General Comments 0
You need to be logged in to leave comments.
Login now