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
prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git]
/
examples
/
bargraphs
/
changebar.py
blob
befd6dc82120fa3b1cda631971a652e52cfda105
1
from
pyx
import
*
2
3
g
=
graph
.
graphxy
(
width
=
8
,
x
=
graph
.
axis
.
bar
())
4
g
.
plot
(
graph
.
data
.
file
(
"minimal.dat"
,
xname
=
0
,
y
=
2
), [
graph
.
style
.
changebar
()])
5
g
.
writeEPSfile
(
"changebar"
)
6
g
.
writePDFfile
(
"changebar"
)
7
g
.
writeSVGfile
(
"changebar"
)