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
remove code duplication
[PyX/mjg.git]
/
examples
/
graphstyles
/
errorbar.py
blob
a12d0f333ecdb7e0e51cfc6a32ba7fa7f7a15f0d
1
from
pyx
import
*
2
3
g
=
graph
.
graphxy
(
width
=
8
)
4
g
.
plot
(
graph
.
data
.
file
(
"errorbar.dat"
,
x
=
1
,
y
=
2
,
dy
=
3
),
5
[
graph
.
style
.
symbol
(),
graph
.
style
.
errorbar
()])
6
g
.
writeEPSfile
(
"errorbar"
)
7
g
.
writePDFfile
(
"errorbar"
)