Synchronizing two axes
You may want to synchronize the axes of two or more graphs (meaning
that they all show the same minimum and maximum value). To realize
this, you can use the event system the
min
and/or max
properties of the
corresponding axes.
The callback function needs to be evaluated pairwise
: If the
first graph is manipulated, then the second graph must be adjusted in
the event handler of the first graph and vice versa.
In the following example both of the axes are synchronized. Of course you can synchronize only the abscissa or the ordinate.