Re: [Matplotlib-users] Issues with Affine2D transform

2010-04-05 Thread Jae-Joon Lee
On Mon, Apr 5, 2010 at 10:05 AM, Michael Droettboom wrote: >> matplotlib.use('Agg') >> import matplotlib.pyplot as mpl >> from matplotlib.transforms import Affine2D >> import numpy as np >> >> image = np.random.random((100,100)) >> >> fig = mpl.figure() >> ax = fig.add_subplot(1,1,1) >> ax.pcolor(

Re: [Matplotlib-users] Issues with Affine2D transform

2010-04-05 Thread Michael Droettboom
The get/set_transform on an artist (any artist really), is an internal implementation detail that transforms points from data space all the way to pixels. It's not really useful to the end user, unless you want to have very low-level control over plotting. If you want to change how data point

[Matplotlib-users] Issues with Affine2D transform

2010-04-02 Thread Thomas Robitaille
Hi, I have been trying to use the Affine2D transformation with pcolor and contour, with no success. The following script and comments illustrates my problems: matplotlib.use('Agg') import matplotlib.pyplot as mpl from matplotlib.transforms import Affine2D import numpy as np image = np.random.ra