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 gallery, don't include .svn stuff from contrib
[PyX/mjg.git]
/
examples
/
axis
/
minimal.py
blob
b04226d392db00544d08446169995ab80081efa5
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"
)