banking to 45 degrees

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

This seems possibly related to sparkplots:
http://agiletesting.blogspot.com/2005/04/sparkplot-creating-sparklines-with.html

fwiw,
Alan Isaac

···

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