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 cross-device link error
[PyX.git]
/
manual
/
graph3.py
blob
0fda6a4e6a679d580cdb34cdf508ce72e2cbee0b
1
from
pyx
import
*
2
g
=
graph
.
graphxy
(
width
=
8
,
x
=
graph
.
axis
.
linear
(
min
=-
5
,
max
=
5
),
3
y
=
graph
.
axis
.
logarithmic
())
4
g
.
plot
(
graph
.
data
.
function
(
"y(x)=exp(x)"
))
5
g
.
writePDFfile
()