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
correct table format
[PyX.git]
/
manual
/
graph3.py
blob
afa819ba5acdaf63657c65853781ddb52c91b836
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
.
writeEPSfile
(
"graph3"
)
6
g
.
writePDFfile
(
"graph3"
)