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
fix directory layout of tagging dir
[PyX.git]
/
examples
/
splitgraphs
/
splitatvalue.py
blob
ad511d61538271f32e7108bd753c913e0349fa7d
1
from
pyx
import
*
2
3
pf
=
graph
.
data
.
paramfunction
4
5
g
=
graph
.
graphxy
(
width
=
8
,
x
=
graph
.
axis
.
split
())
6
g
.
plot
(
pf
(
"k"
, -
1
,
1
,
7
"x, y = splitatvalue(k, -0.9, 0.9), k**100"
,
8
points
=
1000
))
9
g
.
writeEPSfile
(
"splitatvalue"
)
10
g
.
writePDFfile
(
"splitatvalue"
)