Jack Andrews | 2 Sep 12:41 2005

rotating an entire plot

hi,

matplot is great! my question:

   can i rotate a (scatter) plot 45 degrees
   anticlockwise?

ie. rotate from y|
                  |
                  -----
                      x

              to  y\   /x
                    \ /
?

the labels on the axes would also be rotated.
of course, i could rotate the plot elements 45
degrees clockwise then rotate the resulting
image anticlockwise

thanks,

jack andrews

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
(Continue reading)

John Hunter | 2 Sep 17:43 2005

Re: rotating an entire plot

>>>>> "Jack" == Jack Andrews <effbiae@...> writes:

    Jack> the labels on the axes would also be rotated.  of course, i
    Jack> could rotate the plot elements 45 degrees clockwise then
    Jack> rotate the resulting image anticlockwise

It's possible to draw it, but you would have to do all the
transformations/rotations by hand, including drawing the axes as
Line2D instances and labels as Text instances (see for example the
"Scatter3D" example in the archives).  There is no easy, built-in, way
to do it, currently.  In the planned refactoring of the axis handling,
I'll keep this use-case in mind.

JDH

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Gmane