From: Darren D. <dd...@co...> - 2004-09-04 16:51:38
|
Stephen Walton wrote: >On Thu, 2004-09-02 at 01:33, Jean-Michel Philippe wrote: > > >>ste...@cs... wrote: >> >> >>>Zooming is available via the widgets at the bottom of the plot menu by >>>default. >>> >>> >>Ok but I would like to activate zooming for users within the program. >> >> > >You want the initial graph to come up already zoomed in, is that it? > > In Matlab, you can create a plot, and then calling "zoom on" does the same thing as clicking the zoom button in MPL: it just gives zooming context to mouse clicks inside the axes. It would be helpful to know how to give such context to mouse clicks without having to include toolbar2 in a figure. Darren |