Hi Tom,

On Thu, 9 Mar 2006, Thomas Pohl wrote:

> Hello Arnd,
>
> Andre sent me this solution:
>  You can provide a paper format in writeEPSfile. PyX will then center
>  the output on that page while the file remains useable EPS. When the
>  page size is large enough, the whole bounding box will be positive.
>
> I hope this still works with the current PyX version.

yes - this is the solution:
  c.writeEPSfile("fig", paperformat=document.paperformat.A4)

Many thanks!!!

If the centering works, I am wondering whether the default
(i.e. without any paperformat)
should be to avoid negative bounding boxes?

Best, Arnd


-------------------------------------------------------
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

Reply via email to