|
From: <br...@ph...> - 2006-06-15 11:08:15
|
Daniel J Sebald wrote: > 2) BUG 1503114 FIX: 1107709 plot [-1:1] x is plotted with > asymmetric y-axis I'm still just as opposed to this fix as I was when I first commented on the bug report. It's an attempt at fixing symptoms, and does so in the wrong place. > I picked a bug in the list and fixed it. Not really. You just hid it in a spot where it's harder to trigger. Floating-point rounding is tricky stuff. It's completely inevitable that sometimes, results will surprise people. All this patch does is move the surprise from a seemingly obvious place to a less obvious one. An axis ending at 2.0000001 has no more business being artificially cut down to 2.0 than one ending at 2.001. The current behaviour may not be free from surprises, but at least it's correct: an autoscaled axis always contains all its inputs. I find that rule much more important than trying to avoid surprise when users get an axis extended a little more than they believed it had to be. This patch breaks good rules to match ill-founded expectations. |