repo.or.cz
/
PyX
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update upload data
[PyX/mjg.git]
/
examples
/
3dgraphs
/
grid.py
blob
f060e243f17ba661b7879874a92dd27dcd975da6
1
#!/usr/bin/env python
2
from
pyx
import
*
3
4
g
=
graph
.
graphxyz
(
size
=
4
,
z
=
graph
.
axis
.
lin
(
min
=
0.001
))
5
g
.
plot
(
graph
.
data
.
file
(
"grid.dat"
,
x
=
1
,
y
=
2
,
z
=
3
), [
graph
.
style
.
grid
()])
6
g
.
writeEPSfile
(
"grid"
)
7
g
.
writePDFfile
(
"grid"
)