plot2d



Hello,

I try to plot results of an calculation in a loop like the following example:

for i:1 thru 5 step 1 do
(x:i*3,
y:i,
plot2d([discrete, [[x, y]]],[color,cyan],
        [xlabel,"Ux (V)"],
        [ylabel,"Uy (V)"],[style, points],
[gnuplot_preamble,
"set nokey;
set title 'output voltage'"]));

But I get the plotting of the last result, that means for i:5:
the plotting of the point (Ux=15, Uy=5)

I would be thankful for any help.

Thanks and regards

Sara

I would like to know, how can I fix the plotting of each result.