Plot2d doesn't do a good job on clipped lines, even of modest slope.
In the plot below, each clipped line begins and ends at a different place short of the edge of the plot.
plot2d(x-floor(x),[x,0,5],[y,.2,.4]);
Clipping short of min/max y is disconcerting, and increasing adapt_depth doesn't help (though increasing nticks does).
Maxima 5.44.0 SBCL 2.0.0 Windows 10 gnuplot 5.2/PL8
Imported from SourceForge on 2024-07-09 10:46:30 Created by macrakis on 2021-04-20 21:47:42 Original: https://sourceforge.net/p/maxima/bugs/3772
Plot2d doesn't do a good job on clipped lines, even of modest slope. In the plot below, each clipped line begins and ends at a different place short of the edge of the plot.
plot2d(x-floor(x),[x,0,5],[y,.2,.4]);
Clipping short of min/max y is disconcerting, and increasing adapt_depth doesn't help (though increasing nticks does).
Maxima 5.44.0 SBCL 2.0.0 Windows 10 gnuplot 5.2/PL8
Attachments: