repo.or.cz
/
PyX.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git]
/
examples
/
axis
/
minimal.py
blob
4b46b63c887f50fff5c88bc3c7854267e7b98ee2
1
from
pyx
import
*
2
3
c
=
graph
.
axis
.
pathaxis
(
path
.
curve
(
0
,
0
,
3
,
0
,
1
,
4
,
4
,
4
),
4
graph
.
axis
.
linear
(
min
=
0
,
max
=
10
))
5
c
.
writeEPSfile
(
"minimal"
)
6
c
.
writePDFfile
(
"minimal"
)
7
c
.
writeSVGfile
(
"minimal"
)