Thank you so much Jae-Joon and Tony. You saved me so much time ! The
whole transforms system was very obscure (to me !).
>> trans = (ax.transScale + ax.transLimits).inverted()
barspace = 0.32 #inches
barstep = abscissa[1] - abscissa[0]
trans = (ax.transScale + ax.transLimits).inverted()
ba
On Aug 14, 2008, at 4:51 PM, Jae-Joon Lee wrote:
> Hi Mathieu,
>
> It seems to me that you're confused with the meaning of the transAxes.
> It is a transform from the Axes coordinate to the Canvas(?)
> coordinate.
> As far as I can see, what you seemed to want is a transform between
> Data coor
Hi Mathieu,
It seems to me that you're confused with the meaning of the transAxes.
It is a transform from the Axes coordinate to the Canvas(?) coordinate.
As far as I can see, what you seemed to want is a transform between
Data coordinate and Axes coordinate, and that would be transScale +
transLi
I am still investigating and I am stuck at converting transAxes values to data.
If my axes goes from 10.0 to 20.0 then transAxes 0.5 should give me 15.0.
This would allow me to compute bar width and space, since I am able to
convert inches to transAxes values.
I tried many combinations of transA