repo.or.cz
/
PyX
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add new project description in order to make pydoc happy
[PyX/mjg.git]
/
manual
/
graph.py
blob
80d39e50d840aedb8c98fc4ea2de50dd6c2d4137
1
from
pyx
import
*
2
g
=
graph
.
graphxy
(
width
=
8
)
3
g
.
plot
(
graph
.
data
.
file
(
"graph.dat"
,
x
=
1
,
y
=
2
))
4
g
.
writeEPSfile
(
"graph"
)
5
g
.
writePDFfile
(
"graph"
)