From a76d5459698ebf14c3b94ecb2aeba50595796e85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Lehmann?= Date: Mon, 22 May 2006 20:31:37 +0000 Subject: [PATCH] moving around of examples and documentation of linkedaxis example git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2783 069f4177-920e-0410-937b-c2a4a81bcd90 --- examples/axis/INDEX | 2 ++ examples/{graphs => axis}/link.py | 5 ++--- examples/{graphs => axis}/piaxis.py | 0 examples/graphs/INDEX | 2 -- 4 files changed, 4 insertions(+), 5 deletions(-) rename examples/{graphs => axis}/link.py (63%) rename examples/{graphs => axis}/piaxis.py (100%) diff --git a/examples/axis/INDEX b/examples/axis/INDEX index 705bc965..0b0d9438 100644 --- a/examples/axis/INDEX +++ b/examples/axis/INDEX @@ -1,3 +1,4 @@ +link minimal painter rating @@ -5,3 +6,4 @@ manualticks parter texter log +piaxis diff --git a/examples/graphs/link.py b/examples/axis/link.py similarity index 63% rename from examples/graphs/link.py rename to examples/axis/link.py index d0446f38..eb40364e 100644 --- a/examples/graphs/link.py +++ b/examples/axis/link.py @@ -3,9 +3,8 @@ from pyx import * c = canvas.canvas() -g1 = c.insert(graph.graphxy(width=8, - x=graph.axis.linear(min=0, max=1))) -g1.plot(graph.data.function("y(x)=2*exp(-30*x)-exp(-3*x)")) +g1 = c.insert(graph.graphxy(width=8)) +g1.plot(graph.data.function("y(x)=2*exp(-30*x)-exp(-3*x)", min=0, max=1)) g2 = c.insert(graph.graphxy(width=8, ypos=g1.height+0.5, x=graph.axis.linkedaxis(g1.axes["x"]))) diff --git a/examples/graphs/piaxis.py b/examples/axis/piaxis.py similarity index 100% rename from examples/graphs/piaxis.py rename to examples/axis/piaxis.py diff --git a/examples/graphs/INDEX b/examples/graphs/INDEX index 8ffeb520..7e2b9ff3 100644 --- a/examples/graphs/INDEX +++ b/examples/graphs/INDEX @@ -3,6 +3,4 @@ function lissajous axis change -piaxis manyaxes -link -- 2.11.4.GIT