Hi,

Am Mittwoch 20 Mai 2009 11:42 schrieb Aurelien Mazurie:
>       This is something I periodically try to do when using Pyx: removing
> the rectangle around graphs. In some case; e.g., bar graphs, I would
> like to get rid of the extra lines parallel to the two axes that
> encase the graph. Do you know how this is possible?

I would try the following:

# ----------------------------------------------------------------------
from pyx import *

g = graph.graphxy(width=8, x=graph.axis.bar())
g.plot(graph.data.file("minimal.dat", xname=0, y=2),[graph.style.bar()])

del g.axes["x2"]
del g.axes["y2"]

g.writeEPSfile("Graph_without_Box")
# ----------------------------------------------------------------------


Greetings,
Stefan

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to