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
add UnicodeEngine (MultiEngineText and axis texters returning MultiEngineText), texte...
[PyX.git]
/
examples
/
3dgraphs
/
surface.py
blob
59cff5457eac291a3d8b66f6870b7f41eee64bee
1
#!/usr/bin/env python
2
from
pyx
import
*
3
4
g
=
graph
.
graphxyz
(
size
=
4
,
x2
=
None
,
y2
=
None
)
5
g
.
plot
(
graph
.
data
.
file
(
"surface.dat"
,
x
=
1
,
y
=
2
,
z
=
3
), [
graph
.
style
.
surface
()])
6
g
.
writeEPSfile
(
"surface"
)
7
g
.
writePDFfile
(
"surface"
)
8
g
.
writeSVGfile
(
"surface"
)