Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Date: 2006-05-22 13:34:12 -0700 (Mon, 22 May 2006)
really add linkedaxis text
--- trunk/pyx/examples/axis/link.txt (rev 0)
+++ trunk/pyx/examples/axis/link.txt 2006-05-22 20:34:12 UTC (rev 2785)
@@ -0,0 +1,19 @@
+Linking an axis to another one
+When plotting two or more related graphs, you sometimes want to have identical
+axes. This example demonstrates how to achieve this goal in PyX using a
+In order to arrange the two graphs, we first create a canvas `c`, in which
+we insert the first graph `g1` (the lower panel in the output), which contains the graph of a function.
+In the next graph `g2` (the upper panel in the output), we now refer to the
+x-axis of `g1`. We do this by creating a `graph.axis.linkedaxis` instance
+passing the x-axis of `g1` as the only argument. The latter is obtained from
+the axis dictionary `axes` of the graph.
+Note that for a linked axis, PyX automatically turns off the drawing of the axis
+labels, as you can see in the upper panel. If you do not like this behaviour, you
+have to pass a different axis painter to the `\xB4linkedaxis` constructor.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.