rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

plot2d does bad job on clipped lines #4049

Open rtoy opened 2 months ago

rtoy commented 2 months ago

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:

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-09 10:46:31 Created by macrakis on 2021-04-20 21:50:32 Original: https://sourceforge.net/p/maxima/bugs/3772/#04e9