Skip to main content
13 votes

How constrain 2d slider in Manipulate to a specified region?

You can use TrackingFunction to restrict the Slider2D thumb to the desired region: Restrict the thumb to the unit circle: ...
kglr's user avatar
  • 398k
12 votes
Accepted

Using Interval Slider in Manipulate for Plot Functionality

This should give you a starting point: ...
Karsten7's user avatar
  • 27.5k
12 votes
Accepted

Slider with ticks

1. You can use HorizontalGauge as a control in Manipulate: ...
kglr's user avatar
  • 398k
9 votes
Accepted

How to control two different variables with Locator?

is this what you mean? ...
Nasser's user avatar
  • 146k
8 votes

Manipulate Slider to take its values from primes

Here is the example from TrackingFunction: ...
Michael E2's user avatar
  • 238k
8 votes
Accepted

How constrain 2d slider in Manipulate to a specified region?

...
Bob Hanlon's user avatar
  • 160k
7 votes

Manipulate Slider to take its values from primes

Keep slider linear and have another variable. Manipulate[ DynamicModule[{p = Prime[n]}, p], {n, 1, 10, 1, Appearance -> "Labeled"}] Or, specify a setter bar ...
BoLe's user avatar
  • 5,859
7 votes
Accepted

How to use slider over an arbitrary list?

You can achieve this by using both Dynamic and Slider: ...
m0nhawk's user avatar
  • 3,867
7 votes

Avoid clipping label in IntervalSlider?

You can tweak underlying Graphics: ...
Kuba's user avatar
  • 137k
6 votes
Accepted

Why does the Slider value change from an Integer to a Real, causing the Manipulate expression to break?

It seems like a bug. Here's fix, via explicitly constructing the slider (Manipulator): ...
Michael E2's user avatar
  • 238k
6 votes

How to use slider over an arbitrary list?

Example Manipulate[ i, {i, {0, 1, 2.22, 5, 141, 299}, Slider} ] Output Reference Manipulate
e.doroskevic's user avatar
  • 5,979
6 votes

Manipulate controls don't work

Example ...
e.doroskevic's user avatar
  • 5,979
6 votes
Accepted

Updating/ disabling certain slider values dynamically in Manipulate

...
Kuba's user avatar
  • 137k
6 votes

Avoid clipping label in IntervalSlider?

You can also wrap the interval slider object with Style and use DefaultOptions to set ...
kglr's user avatar
  • 398k
5 votes

Manipulate controls don't work

Based on the documentation, Slider is the only control object used in your code that supports a list of expression as its settings. Here is a custom alternative. <...
Karsten7's user avatar
  • 27.5k
5 votes
Accepted

How to get sliders to represent lower $\leq x < y < z \leq$ upper?

How about using a different object to control some variables? It's not exactly a Manipulate control but it can have the same effect: ...
lowriniak's user avatar
  • 2,412
5 votes
Accepted

Question about Working with Lists / Tables

dtpts1a = Table[RandomInteger[{1,100}],{i,128},{j,2}]; Manipulate[ MapAt[n*#&, dtpts1a, {All,2}] ,{n,0,1}] EDIT By default ...
Hausdorff's user avatar
  • 3,535
5 votes
Accepted

Slider changes Pi to a MachinePrecision number

If you want the control variable to only take exact values you need to specify all values including the step value as exact values, e.g., ...
Bob Hanlon's user avatar
  • 160k
4 votes
Accepted

How to dynamically gray out a slider?

So to expand a little on my comment, to make a slider be greyed out you can use Enabled: ...
lowriniak's user avatar
  • 2,412
4 votes

How to get sliders to represent lower $\leq x < y < z \leq$ upper?

A teeny modification to Smit's solution, to fit the requirements of the question: ...
David G. Stork's user avatar
4 votes

Manipulate controls don't work

The problem is with Animator. When it is passed a list, the +/- buttons increment the index of the setting by about 5-10%. It seems to pick a "nice" increment ...
Michael E2's user avatar
  • 238k
4 votes
Accepted

How to display and control current value of a 2d slider

The nontrivial part of your question is (2) if interpreted as : "How to use a 2D Slider and some 1D Sliders to manipulate the same object {x,y} ?" Here is one way to do it : ...
andre314's user avatar
  • 18.6k
4 votes
Accepted

Implement an IntervalSlider

...
Kuba's user avatar
  • 137k
4 votes
Accepted

How to access the dynamic values of a set of sliders?

Perhaps not easy to find in the documentation, but answered clearly in the section called A Good Trick to Know in the tutorial, "An Introduction to Dynamic": This can be done with ...
4 votes
Accepted

Having three Control Objects for the same Dynamic variable which can override eachother

Note: See also my other answer for a different approach and a discussion of the differences between the two. You can achieve what you want by introducing a helper variable (...
Lukas Lang's user avatar
  • 34.2k
4 votes
Accepted

Create a slider to illustrate Fubini theorem

If it is not essential to have two different colors for the filling in the 3D plot, you can use a single Plot3D with the option ...
kglr's user avatar
  • 398k
3 votes
Accepted

Slider does not update graphic until SetterBar is changed

Kuba nailed the origin of your problem in his comment: in your code Manipulate is not aware that it needs to track symbol p ...
MarcoB's user avatar
  • 67.4k
3 votes

make a slider for a list of matrices

Maybe if you want a slider, use Slider: ...
Michael E2's user avatar
  • 238k
3 votes

Updating/ disabling certain slider values dynamically in Manipulate

This is probably too late, since kuba's answer has already been accepted, but I couldn't get his solution using a locator pane to work, so I'm posting my own more pedestrian version. ...
m_goldberg's user avatar
  • 108k
3 votes
Accepted

How to create a seek bar with Slider

Maybe something like this will get you started? ...
MassDefect's user avatar
  • 10.1k

Only top scored, non community-wiki answers of a minimum length are eligible