plot2d([1 2]*1e-14): Y-axis extending out of its range for small Y values

Reported by Samuel GOUGEON (@sgougeon)

figure_bug_16029.png (13.03 KB, image/png)

screenshot of figure

BUG DESCRIPTION:
----------------
This bug occurs in the master 6.1.0-, not in 6.0.2.

subplot(3,1,1)
plot2d(rand(1,100)*1e-10)
// yields the attached figure. Apparently, the computing/rendering of the series of y-ticks is out of work.

subplot(3,1,1)
plot2d(rand(1,100)*1e-13)
// freezes and then crashes Scilab

ERROR LOG:
----------
None. Wrong rendering/computing of Y ticks, and final crash
BTW, the memory used climbs by the session from 200MB to 400MB just when changing *1e-10 => *1e-13 amplitude and re-running the plot.


HOW TO REPRODUCE THE BUG:
-------------------------
subplot(3,1,1)
plot2d(rand(1,100)*1e-10)


OTHER INFORMATION:
------------------
--> [v,o] = getversion()
 o  = 
!VC++  x64  tk  release  Feb 27 2019  12:15:32  !
 v  = 
 scilab-branch-master