transformations

Hello list,

I have just figured out how to use transformations for the 'Text' object from the class library to add a text to the graph (well actually this applies to any Artist object).

If the coordinates are given as absolute _screen_ coordinates (very unlikely...), we use:

  t = Text(x=x, y=y, text=text)
  axes.texts.append(t)

If however the coordinates are given as _data_ coordinates x,y then we use:

  t = Text(x=x, y=y, text=text)
  t.set_transform(axes.transData)
  axes.texts.append(t)

My question: Is there any transformation that would allow me to specify the coordinates as x,y tuple where (0,0) is bottom left and (1,1) is top right? In gnuplot this is known as the 'graph' coordinate system.

Best regards,

Niklas.