When I run the script below,
the "Series 3" label is typeset incorrectly.
If I remove the space in the string "Series "=str(xi),
the problem goes away. But there remains a
bounding box problem. The size is for ease
of viewing; it is not relevant to the problems.)
Cheers,
Alan Isaac
==================================================
from pyx import *
c = canvas.canvas()
c.stroke(text.text(0,0,"Series 3",[text.size(3)]))
c.stroke(text.text(5,0,"Series 3",[text.size(3)]))
c.stroke(text.text(10,0,"Series 3",[text.size(3)]))
c.stroke(text.text(0,5,"Series3",[text.size(3)]))
c.stroke(text.text(5,5,"Series3",[text.size(3)]))
c.stroke(text.text(10,5,"Series3",[text.size(3)]))
c.writeEPSfile("temp.eps")
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user