0
$\begingroup$

I would like to develop a simple slider for exploring a wide range of intervals on the real line. Is it possible to get the MinimalSize of IntervalSlider to work below .001?

IntervalSlider[{3, 7}, {0, 10}, ImageSize -> 600,  MinIntervalSize -> .0001, Appearance -> "Labeled"]

interval slider


This limitation is not imposed on the HorizontalGauge:

HorizontalGauge[42, {0, .000000000000000000001}, ImageSize -> 800, BaseStyle -> 14]

gauge


I may be able to get around this limitation by using a drop down list to set the order of magnitude I wish the gauge to operate in. But first I want to know about getting around the limited of the control.

$\endgroup$
  • 1
    $\begingroup$ If you drag with Alt pressed it is more sensitive, with Alt+Shift even more. Not sure what you are exactly after, though. $\endgroup$ – Kuba Feb 21 '15 at 23:18
  • $\begingroup$ Basically, I want students to be able to explore a number line by zooming in or out at will. I plan to have multiple Horizontal Gauges on display at once. But I am still thinking about the functionality, the operations I want students to be able to apply. $\endgroup$ – DavidC Feb 22 '15 at 1:14
3
$\begingroup$

Are there really sufficiently many assignable pixel locations such that you can drag a Controller to such a resolution? Would you be satisfied if the range were small enough that the MinIntervalSize you seek could be rendered? After all, this will work:

IntervalSlider[{.003, .007}, {0., .010}, ImageSize -> 600, 
 MinIntervalSize -> .00000001, Appearance -> "Labeled"]
$\endgroup$
  • $\begingroup$ Good point. I hadn't tried adjusting the interval size! $\endgroup$ – DavidC Feb 21 '15 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.