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
fix directory layout of tagging dir
[PyX.git]
/
examples
/
bargraphs
/
fromvalue.py
blob
4dc520bc4f6ae3e4cad77f59fca1c92a977db1f2
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
),
5
[
graph
.
style
.
barpos
(
fromvalue
=
0
),
graph
.
style
.
bar
()])
6
g
.
writeEPSfile
(
"fromvalue"
)
7
g
.
writePDFfile
(
"fromvalue"
)