File: stridetune-graph.py

package info (click to toggle)
zfec 1.5.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 524 kB
  • sloc: python: 2,022; ansic: 892; haskell: 229; sh: 22; makefile: 4
file content (10 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python

from pyx import *
def g(f):
 g=graph.graphxy(width=16, x=graph.axis.linear(), y=graph.axis.linear())

 g.plot([graph.data.file(f, x=1, y=2)])
 g.writeEPSfile(f+'.eps')

g('stridetune.dat')