From: Peter D. <pj...@cc...> - 2011-05-22 03:37:18
|
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 pj...@cc... Northeastern Computer & Information Science (617) 373-8683 |