aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-02-21 18:07:56 -0800
committerbnewbold <bnewbold@robocracy.org>2016-02-21 18:07:56 -0800
commit197d2c4d634ea9765189a1df5a4179bd181662e4 (patch)
treee5b294ac700e2adbced49157b19f3291ed95c57d /examples
parent5dab103e3ed4728b6e920eb88b9cedc86dfc3183 (diff)
downloadPyX.jl-197d2c4d634ea9765189a1df5a4179bd181662e4.tar.gz
PyX.jl-197d2c4d634ea9765189a1df5a4179bd181662e4.zip
examples/graphs/points.jl: fix zero indexing
Diffstat (limited to 'examples')
-rw-r--r--examples/graphs/points.jl4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphs/points.jl b/examples/graphs/points.jl
index 9136ee0..69d4d0d 100644
--- a/examples/graphs/points.jl
+++ b/examples/graphs/points.jl
@@ -15,9 +15,9 @@
using PyX
g = graph.graphxy(width=8)
-plot(g, graph_data.values(x=1:10, y=1:10))
+plot(g, graph_data.values(x=0:9, y=0:9))
# XXX: x, y syntax in Python3 version only
# XXX: also other errors
-#plot(g, graph_data.points([[i i] for i in 1:10], 1:10), x=1, y=2)
+#plot(g, graph_data.points([[i i] for i in 0:9], 0:9), x=1, y=2)
writeEPSfile(g, "points")
writePDFfile(g, "points")