|
From: Dr. J. Z. <joh...@ze...> - 2014-07-16 14:12:03
|
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 |