Re: [sage-support] strange plot

2024-09-25 Thread Dima Pasechnik
I can only say that Sage isn't properly geared to plot non-smooth functions. If you have such a piecewise-linear graph, it's probably better to split it into polyhedral pieces and plot them. On Wed, Sep 25, 2024 at 3:42 PM Fernando Gouvea wrote: > Recently I was trying to get SageMath to plot

[sage-support] strange plot

2024-09-25 Thread Fernando Gouvea
Recently I was trying to get SageMath to plot something: plot3d(floor(min(x,y)),(x,1,7),(y,1,7)) The result looks like this: I checked, and it does seem that both floor(min(7,1)) and floor(min(1,7)) are equal to 1, as they should be. But that's not what the plot shows. Any explanations of wha