Empty plot when giving a specific input
Bug Description
I stumbled on a case when Scilab does not plot the data I give (data with a varying x and a close-to-constant y).
Steps to reproduce
The following code shows the problem:
// Specific data to reproduce the problem
x = [0.0000000000000000e+00 3.4722222222222220e-03 6.9444444444444441e-03 1.0416666666666666e-02 1.3888888888888888e-02 1.7361111111111112e-02 2.0833333333333332e-02 2.4305555555555552e-02];
y = [9.0000000000000000e+01 9.0000000000000000e+01 9.0000000000000000e+01 9.0000000000000000e+01 9.0000000000000000e+01 9.0000000000000000e+01 9.0000000000000000e+01 9.0000000000000014e+01];
scf();
plot(x(1:$-1), y(1:$-1));
// Plot is visible: OK
scf();
plot(x, y);
// No plot is shown
What is the expected correct behavior?
The second plot should be displayed, as is the first one.
Error log
No error is displayed.
I encountered the problem on Scilab 2023.0.0 but was able to reproduce it on Scilab 2025.1.0.