For multiple variables to plot without appending to each other, all must be 'printed' before and CR/LF.
Example
println a;
println b;
println c;
will plot the values as if they were a single variable.
for (,,)
{
print a;
print b;
println c;
}
will plot three separate curves.