|
From: Gregory L. <gre...@ff...> - 2004-07-26 20:13:40
|
> -----Message d'origine----- > De : mat...@li...=20 > [mailto:mat...@li...] De la=20 > part de John Hunter > Envoy=E9 : lundi 26 juillet 2004 21:26 > =C0 : mat...@li... > Objet : [matplotlib-devel] constrained zoom >=20 >=20 >=20 > One more thought on interactive zoom. As I was trying out=20 > the interactive zoom (not zoom to rect, but right click on=20 > pan zoom) on some image data, I noticed that it would be=20 > useful to have some constraints on the zoom >=20 > - zoom only on x. Already the x zoom is determined by the amount of > movement in the horizontal direction, but it would be nice to be > able to ignore the y direction. Candidate key modifier: 'x' >=20 > - zoom only on y. ditto. Candidate key modifier: 'y' >=20 > - preserve axes aspect ratio. Candidate key modifier: ??. I think > some apps use a SHIFT or a CTRL modifier for this. Is there any > consensus or common practice? Yes, this will be very usefull! Add the group of axis (all of them react to pan/zoom/zoom_to_rect of any of them, and it would be the ultimate plot navigation tool :-) I go for shift for the last one (could even do the 3 in one, kind of like power point snap to grid, except grid would be 0/45/90 direction. I think powerpoint and many drawing program (adobe illustrator, corel draw) act like that :-) |