Hi,

I'd like to plot several objects which are defined in coordinate systems 
which are local to each object in a common plot.
The objects (and the corresponding local coordinate systems) are rotated 
and translated wrt. a global reference point.

I tried something like

r = matplotlib.transforms.Affine2D().rotate_deg(90)
matplotlib.pyplot.plot(x, y, transform = r)

but this didn't work.

Additionally to matplotlib.pyplot.plot I use also 
matplotlib.patches.PathPatch, matplotlib.pyplot.plot to draw shapes and 
text.

Any help on how to rotate (and shift) a whole assembly which contains 
eg. a matplotlib.patches.PathPatch and an annotation would be helpful.

regards,

-- 
Johannes

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to