I'm trying to do the equivalent of setting text values for xtics in Gnuplot - I 
want to be able to do a normal data point graph but with text labels. If I use 
a bar axis and graph.style.symbol I get an "incomplete position information" 
error...

Here's what I'm doing:

from pyx import *
g = graph.graphxy(width=3, x=graph.axis.bar(), 
                  y=graph.axis.lin(min=0,max=10))
v = graph.data.values(xname=("foo","bar"), y=(4,8))
g.plot(v,[graph.style.symbol()])
g.writePDFfile('foo')

Thanks in advance...

.....................................................................
 Peter Desnoyers                                  [email protected]
 Northeastern Computer & Information Science      (617) 373-8683




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to