from pyx import *
text.set(fontmaps="psfonts.cmz")
arr = [
[ 0 ,  1 ],
[ 1 ,  4 ],
[ 2 ,  5 ],
[ 3 ,  3 ],
[ 4 ,  5 ],
[ 5 ,  4 ],
[ 6 ,  7 ],

]

g = graph.graphxy(width=8, height=5, x=graph.axis.linear(min=0, max=7),
                  y=graph.axis.linear(min=1, max=7))
g.plot(graph.data.list(arr, x=1, y=2), 
		[  
		graph.style.symbol(graph.style.symbol.circle, size=0.05, 
		symbolattrs=[color.rgb(0.0, 0.2, 0.6), deco.filled([color.rgb(1.0, 0.6, 0.0)])])])
g.writeEPSfile("/Users/apple/Desktop/testPyX.eps") 