Repeated calls to the plot/plot2d functions in Scilab result in the superpositio
Reported by Rafael Guerra
-- Bug description --
Repeated calls to the plot/plot2d functions in Scilab result in the superposition of the individual curves BUT NOT of their titles, which get erased with only the last title being displayed. See code sample further below in "Steps to Reproduce the bug".
This plotting functionality is not working as expected and it would be very useful in order to efficiently label multiple curves in plots or subplots.
-- Scilab error message --
-- How to reproduce the bug --
x=0:0.02:1;
for i=1:3
y=x.^i;
plot2d(x,y,i)
a=gca();
tit= 'Curve number#'+string(i);
a.title.text= tit;
a.title.font_foreground = i;
a.title.position(1)= 0.3;
a.title.position(2)= 1+i*0.03;
end