Tag Info

New answers tagged

1

Few notes: try to avoid Manipulate for complex things. When you have multiple controllers (of the same variable) inside body of Manipulate it triggers evaluation unless you use nested Dynamic/Refresh. Moreover, referring your last example, take a look at: Function[{m, r}, Round[m, r]][Dynamic[5.5], 1]. DynamicModule[{n = 10.123, interval = {10, 20}}, ...


2

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, ...


1

You simply need to scale your gauge to display timer value in seconds by dividing by 60. Here is a 3-minute gauge. With[{val = 100, sec = 180}, HorizontalGauge[val/60, {sec/60, 0}, GaugeStyle -> Hue[Rescale[val, {0, sec}, {0, 0.3}]], GaugeMarkers -> "GlassRectangle", ScaleDivisions -> 3, ImageSize -> 500, ScalePadding ...



Top 50 recent answers are included