From: Christoph Lhotka on 27 Mar 2010 06:09 Hello! I prefer to use my Playstation controller (this is ment seriously) to zoom in/ zoom out/ etc.. ControllerManipulate (look it up on the documentation center) All the best (and enjoy), Christoph On Fr, 26.03.2010, 11:37, Nasser M. Abbasi wrote: > In another system (starts with the letter M and ends with the letter B), > one > can easily zoom within a plot using the mouse, by making a rectangular > shape > to select the zoom region, and the plot is then replotted to fit into the > new area. Then using the mouse, one can unzoom back to the original scale. > These functionalities are build into each figure which is generated, using > a > build-in menu attached to each figure window. > > Now, I do zooming, by having sliders which I moves around, and then I > change > the axis plot range accordingly, then replot. But this is not as nice. > > > I looked at few other options, but all seem convoluted to me. For example, > I > thought of the following: > > Try to use LocatorPane with 2 locators, one for each opposite corner of > the > rectangular, and user would adjust these, and then using Dynamics, I can > read the coordinates of each corner and this gives the new plot range. But > I > think need to superimpose this LocatorPane on top of the plot itself to > make > it user friendly, and worry about mapping coordinates and all that, and it > is starting to get too complicated. > > Or may be use Slider2D, one for one corner and another for the second > corner. > > The point is, I think Mathematica should have a build-in support for these > sorts of things, the user do not need to code this each time from scratch. > once a plot is made, there should be an automatic way for someone, using > the > mouse to select an area on the plot. May be add another menu, like the > menu > that comes up when one right-click on a plot, next to the graphic > inspector, > to do this. > > May be for version 8? This is one feature I always wondered why > Mathematica, > with all its graphics functions, does not support for out-of-the-box. > > --Nasser > > > > > -- Mag. Christoph Lhotka University of Vienna / Institute for Astronomy Tuerkenschanzstrasse 17, A-1180 Vienna, Austria fon. +43 (1) 4277 51841 mail. lhotka(a)astro.univie.ac.at
|
Pages: 1 Prev: Multiple Window Feature Request Next: Adding data to excel sheet (v7.0) |