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
further fixes to the drawing and clipping of the gradient style
[PyX.git]
/
examples
/
splitgraphs
/
minimal.py
blob
cc74a5ebb7e290f473aa6face66f1eda95ff2391
1
from
pyx
import
*
2
3
g
=
graph
.
graphxy
(
width
=
8
,
x
=
graph
.
axis
.
split
())
4
g
.
plot
(
graph
.
data
.
points
([((
0
,
0.1
),
0.1
),
5
((
0
,
0.5
),
0.2
),
6
((
0
,
0.9
),
0.3
),
7
((
1
,
101
),
0.7
),
8
((
1
,
105
),
0.8
),
9
((
1
,
109
),
0.9
)],
x
=
1
,
y
=
2
))
10
g
.
writeEPSfile
(
"minimal"
)
11
g
.
writePDFfile
(
"minimal"
)