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 the tracker, so we don't 
forget about it.

As for selective rasterization, IIRC we never really got past the API 
discussion.  That's all that really needs to be done -- have a 
consistent sensical API for it -- other than that, I believe it works in 
PDF, PS and SVG backends already (probably not Cairo ATM, though).

Mike

Eric Firing wrote:
> 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-level capability to rotate an image in the latter, but 
>>> no support at higher levels.  It also looks to me like adding that 
>>> support would not be trivial--doing it right would take more than just 
>>> calling the low-level apply_rotation method.  Mike D. would be the 
>>> expert on this, though.
>>>       
>> Does this mean that the transform= keyword has no effect on imshow in 
>> general?
>>     
>
> It does look like it is ignored.  It is a kwarg for Artists that is not 
> supported by all.  The fact that one can specify it and get no feedback 
> is a bug.
>
>
>   
>> I attempted to use the pcolormesh() method, which worked, but is 
>> impractical, as a 1000x1000 image produces a 300Mb EPS file when plotted 
>> in this way.
>>     
>
> There is some infrastructure for handling this via selective 
> rasterization of artists, but I can never remember exactly what its 
> status is; I don't see anything in the examples.  The topic comes up on 
> the list at perhaps 6-month intervals.  Personally, I would very much 
> like to see the selective rasterization capability fully developed and 
> exposed, complete with documentation and examples; it is important for 
> exactly the reason you note above.  It is not something I will be able 
> to work on myself, unfortunately.
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to