Hello, I am new to using PyX and was wondering if it is possible to invert
the Y axis so the top left of page is 0,0 and the y value increases as you
go towards the bottom of the page?
I experimented with passing a trafo to the canvas constructor:
trafo.trafo(matrix=((1, 0), (0, -1)), vector=(0, canvasheight))
This seems to work ok for graphics, but then of course all text is upside
down.
I tried applying a similar y flipping transformation to the textattrs to
upright it again, but it did not seem to do anything.
Is there any simple solution to this?
Thanks,
Hans
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user