...but I have some issues printing the curves, only the last one has the correct number of plots.
You mean points ?
For example I ask 20 points per curve and I have 3 curves. The last curve I created will print 20 points, the second will print 10 and the first will print less. Here is the snapshot: ...
Showing 3 curves - one with 20 points, the second with 10 and the third with less.

So what exactly is the problem ?

Uwe