Re: Nudge? (Coarse and Fine Manipulation)

• To: mathgroup at smc.vnet.net
• Subject: [mg119688] Re: Nudge? (Coarse and Fine Manipulation)
• From: "Nasser M. Abbasi" <nma at 12000.org>
• Date: Fri, 17 Jun 2011 00:10:40 -0400 (EDT)
• References: <itcd9j\$cvt\$1@smc.vnet.net>

```On 6/16/2011 1:01 AM, AES wrote:
> Suppose you want to have a slider control that does coarse adjustment of
> an input variable in a Manipulate (range 0 to 150, let's say), and then
> a much finer adjustment button or slider you can use to nudge that value
> up or down by a much smaller amount (steps of 0.001, let's say) near any
> critical transition points.
>
> If the input variable to be controlled is x, I suppose one could have a
> coarse slider to set the value of x0 in the range 0<= x0<=150  and a
> fine slider to set x1 in the range  -0.001<= x1<= +0.001; and then have
> x = x0+x1 as the first statement in the active part of the Manipulate.
>
> Other better ways to do this?
>

The typical solution to this is to have the standard slider, but
with clickable body. like this:

<-------||----------------->
<-------||----------------->

when moving the slider (by dragging the bar inside it or by clicking
on the end arrows) will cause the control variable value to change
by a fine amount, say 1%. This is how the Mathematica slider works
(but it does not have the side arrows, only the bar in the middle).

But the slider should support clicking on any side of the slider
bar, and then the bar will move by the granular amount, say 10%
to the left or to the right.

These 1% and 10% can be configurable ofcourse.

It would be nice if next version of Mathematica will have such
a control.  Holding ALT and sliding it, does not really give
the needed control as the above method. The above method
I think is a standard way to do it, at least on 2 other systems
I know of now.

--Nasser

```

• Prev by Date: Re: Problems with DSolve
• Next by Date: Re: How to Do a Replacement with Two Conditions
• Previous by thread: Re: Nudge? (Coarse and Fine Manipulation)
• Next by thread: Partition a list based on columns