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

« back to all changes in this revision

Viewing changes to manual/graph3.py

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2012-12-17 13:45:12 UTC
  • mfrom: (1.1.4)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20121217134512-u0w6lrgdowsc1sfu
Tags: 0.12.1-1
* New upstream release
* Update maintainer address.
* Update copyright format URL.
* Bump standards version to 3.9.4 (no changes required).
* Drop postinst that was needed for lenny->squeeze upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
g = graph.graphxy(width=8, x=graph.axis.linear(min=-5, max=5),
3
3
                           y=graph.axis.logarithmic())
4
4
g.plot(graph.data.function("y(x)=exp(x)"))
5
 
g.writeEPSfile("graph3")
6
 
g.writePDFfile("graph3")
 
5
g.writePDFfile()