~ubuntu-branches/debian/sid/pyx/sid

« back to all changes in this revision

Viewing changes to manual/graph.py

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2012-12-17 13:45:12 UTC
  • mto: (9.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20121217134512-q85pr3q75fxii7mq
Tags: upstream-0.12.1
ImportĀ upstreamĀ versionĀ 0.12.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from pyx import *
2
2
g = graph.graphxy(width=8)
3
3
g.plot(graph.data.file("graph.dat", x=1, y=2))
4
 
g.writeEPSfile("graph")
5
 
g.writePDFfile("graph")
 
4
g.writePDFfile()