File: graph.py

package info (click to toggle)
pyx 0.7.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,756 kB
  • ctags: 2,584
  • sloc: python: 12,675; ansic: 1,711; makefile: 168; sh: 16
file content (4 lines) | stat: -rw-r--r-- 116 bytes parent folder | download
1
2
3
4
from pyx import *
g = graph.graphxy(width=8)
g.plot(graph.data.file("graph.dat", x=1, y=2))
g.writeEPSfile("graph")