Logo Search packages:      
Sourcecode: matplotlib version File versions

zoom_window Namespace Reference


Detailed Description

This example shows how to connect events in one window, eg a mouse
press, to another figure window.

If you click on a point in the first window, the z and y limits of the
second will be adjusted so that the center of the zoom in the second
window will be the x,y coords of the clicked point.

Note the diameter of the circles in the scatter are defined in
points**2, so their size is independent of the zoom


Functions

def onpress

Variables

tuple axsrc = figsrc.add_subplot(111, xlim=(0,1), ylim=(0,1), autoscale_on=False)
tuple axzoom
tuple figsrc = figure()
tuple figzoom = figure()


Generated by  Doxygen 1.6.0   Back to index