## matplotlib-users

 [Matplotlib-users] banking to 45 degrees From: Vidar Gundersen - 2005-07-01 08:55:19 are there a function for calculating "banking to 45 degrees" and change the aspect ratio accordingly in matplotlib? an idea: plot(x, aspect="bank45") plot(x, aspect="golden") # golden rectangle plot(x, aspect=1) plot(x, aspect=4/3) in Cleveland, William S. Visualizing Data (1993), there is a technique called "banking to 45 degrees", which calculates the aspect ratio of a plot for a more accurate visual decoding of the slopes in a graph. an example can be seen at the bottom of this web page: http://cm.bell-labs.com/cm/ms/departments/sia/project/trellis/display.examples.html the lattice package for R/S-plus has a function for this, there is also an implementation in `Data visualization toolbox for Matlab' http://www.datatool.com/prod01.htm
 Re: [Matplotlib-users] banking to 45 degrees From: Alan G Isaac - 2005-07-01 13:00:28 On Fri, 01 Jul 2005, Vidar Gundersen apparently wrote: > in Cleveland, William S. Visualizing Data (1993), > there is a technique called "banking to 45 degrees", > which calculates the aspect ratio of a plot for a more > accurate visual decoding of the slopes in a graph. > an example can be seen at the bottom of this web page: > http://cm.bell-labs.com/cm/ms/departments/sia/project/trellis/display.examples.html > the lattice package for R/S-plus has a function for this, > there is also an implementation in `Data visualization > toolbox for Matlab' http://www.datatool.com/prod01.htm This seems possibly related to sparkplots: http://agiletesting.blogspot.com/2005/04/sparkplot-creating-sparklines-with.html fwiw, Alan Isaac
 Re: [Matplotlib-users] banking to 45 degrees From: Vidar Gundersen - 2005-07-01 16:51:31 ===== Original message from Alan G. Isaac | Fri, 1 Jul 2005: > This seems possibly related to sparkplots: not really, but sparklines should probably also be scaled so that the steepest slope is 45 degrees for accurate visual decoding of the graph. [Edward Tufte has also written about banking to 45 degrees in his excellent books.} there is also another interesting sparkline implementation in Python, using PIL: http://bitworking.org/projects/sparklines/ thanks for the input.