Hi all,
I'm trying to create a nested bar graph and everything works fine, except for
one thing: the x-axis ticks appear as floats, even though in the input file
they are integers.
Since in my setting it does not make sense for me to present floats/real
numbers, can you suggest a way for making the x-axis have integer values?
Here is the critical sample of my code:
g = graph.graphxy(width = 6,
x = graph.axis.nestedbar(title = 'FSA),
y = graph.axis.linear(title = 'P',
painter =
graph.axis.painter.regular(gridattrs = [style.dash((30, 30, 30), 10),
style.linewidth.THIN],),
min = 0,
max = 0.8,),
key = legend)
g.plot([graph.data.file(input_file_name, xname="$1, 0", y = 2, title = "S"),
graph.data.file(input_file_name, xname="$1, 1", y = 3, title = "D")],
[graph.style.bar()])
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user