Just getting back to work after an illness...
Eric's assessment is 100% correct: the transform kwarg is ignored by
images. It probably could be, but it would not be trivial, particularly
in the way the Agg backend is currently architected. This should
probably be added as a feature request to
Thomas Robitaille wrote:
>>> It looks like rotation/translation should be easy to do with
>>> Affine2D, so I tried using it, but I can't seem to get it to work as
>>> expected - here is an example of how I am using it:
>>
>> Based on a quick look at image.py and _image.cpp, it appears that
>> th
>> It looks like rotation/translation should be easy to do with
>> Affine2D, so I tried using it, but I can't seem to get it to work
>> as expected - here is an example of how I am using it:
>
> Based on a quick look at image.py and _image.cpp, it appears that
> there is a low-level capabilit
Thomas Robitaille wrote:
> It looks like rotation/translation should be easy to do with Affine2D,
> so I tried using it, but I can't seem to get it to work as expected -
> here is an example of how I am using it:
Based on a quick look at image.py and _image.cpp, it appears that there
is a low-l
Thanks to both of you for your help! I had spotted the transform
argument in imshow, but didn't manage to find any information about
how to use it. The Affine2D method looks like it will help, so I
should be all set now.
Thanks!
Thomas
On Mar 13, 2009, at 5:20 PM, Andrew Straw wrote:
> Er
It looks like rotation/translation should be easy to do with Affine2D,
so I tried using it, but I can't seem to get it to work as expected -
here is an example of how I am using it:
import numpy as np
from matplotlib.pyplot import *
from matplotlib.transforms import Affine2D
im = np.random.ra
Eric Firing wrote:
> Thomas Robitaille wrote:
>> Hello,
>>
>> I was wondering whether there is a way to rotate a grayscale/
>> colorscale when using imshow.
>>
>> I have been using PGPLOT (a fortran/c plotting library) for many years
>> now, and the equivalent to imshow is called PGGRAY (or PGIM
Thomas Robitaille wrote:
> Hello,
>
> I was wondering whether there is a way to rotate a grayscale/
> colorscale when using imshow.
>
> I have been using PGPLOT (a fortran/c plotting library) for many years
> now, and the equivalent to imshow is called PGGRAY (or PGIMAG). One of
> the argume
Hello,
I was wondering whether there is a way to rotate a grayscale/
colorscale when using imshow.
I have been using PGPLOT (a fortran/c plotting library) for many years
now, and the equivalent to imshow is called PGGRAY (or PGIMAG). One of
the arguments this function takes is a 6-element ar