From: Fernando P. <fpe...@gm...> - 2006-08-28 02:44:29
|
On 8/27/06, Eric Firing <ef...@ha...> wrote: > Bill Baxter wrote: > > > > > I don't know anything about it what happened to the code, but I will > > say that +- 6% autoscaling is better than tight bounds for many kinds > > of plots. Like a scatter plot. It doesn't look good if some of your > > points are right on the axes, with their marker cut in half by the > > border. It's always bugged me with Matlab that there was no easy way > > to get slightly enlarged bounds on plots, so I'm glad to hear mpl has > > added something like that. I'm not sure it should be the default, or > > only option though. Some plots are better with tight bounds. > > Presently it kicks in only in the unusual case of a very small range, > but it has also occurred to me that it would be nice to be able to tell > the autoscaling to add a margin in any case. I just haven't gotten > around to doing it. +1 for that. I've just recently been fixing my limits by hand in this way precisely to avoid the half-cut markers problem that Bill describes. Cheers, f |