Questions tagged [slider]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
2 answers
399 views

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

In a Manipulate, how can a 2D slider be constrained to a specified region — for example, to the unit disk $|z| \leq 1$in the following example? ...
user avatar
  • 11.3k
1 vote
1 answer
92 views

Changing Slider Style [duplicate]

Is there any option to customize the Slider tracker to an image or a Graphics object? What about simply changing its colour? For ...
user avatar
  • 4,138
1 vote
1 answer
110 views

Manipulate: Display Slider Value in Custom Format

I am plotting two functions using 'Manipulate' and I am trying to change the way the values of certain adjustable parameters are being displayed. Here is a photo of the plot so I can refer to the ...
user avatar
0 votes
1 answer
28 views

Switching an input to a slider

I have a code that works well. The code has been show below. I want to switch the input 'k1' from being being a single value input to a slider between 0 and 1 in steps of 0.1. What would be the best ...
user avatar
4 votes
2 answers
179 views

Slider changes Pi to a MachinePrecision number

Problem Consider the following code: DynamicModule[{a = {0, Pi}, b = 4}, {Slider[Dynamic@b, {a}], Dynamic@b} ] I want a Slider...
user avatar
  • 419
1 vote
1 answer
49 views

Columned text not showing up in Manipulate plot variable label

I can't figure out why my columned text in the variables of my Manipulate plot are not showing up. In the labels for the variables, I set columns but only the top set of text is showing up. For ...
user avatar
0 votes
0 answers
28 views

Why does Horizontalgauge output flicker when i sliding the marker?

The simplest HorizontalGauge[] as following: HorizontalGauge[Dynamic[x], {0, 100}] when i dragged the triangle marker along the axis, the axis kept flicker until i ...
user avatar
  • 403
3 votes
1 answer
56 views

Reset sliders to default (zero) when a PopupMenu item is selected

I am setting up a UI with sliders that are enabled or disabled according to the item in a PopupMenu. I have been trying to figure out how to reset the sliders to ...
user avatar
  • 187
7 votes
1 answer
368 views

Slider with ticks

I am not happy with the "Labeled" appearance of the slider in Animate or Manipulate. Instead, I wish ticks with multiple of pi under the slider. ...
user avatar
  • 73
2 votes
1 answer
84 views

Question about Working with Lists / Tables

I have a data point set embedded in a manipulate. dtpts1a={{X,Y},{X,Y},{X,Y},{X,Y},{X,Y},{X,Y},{X,Y}, and so on and so forth, continuing} How do I alter, how do I change the magnitude of each ...
user avatar
  • 129
2 votes
1 answer
91 views

Plotting eigenfunctions as functions of parameters in the hamiltonian

I'm finding eigenfunctions using NDEigensystem of various hamiltonians. For example, the hamiltonian with Shcrödinger's equation: $$ H u(x)=-\hbar^2 u''(x) + A x^2 u(x). $$ I would like to be able to ...
user avatar
  • 87
0 votes
1 answer
49 views

Why is my dynamic slider no longer working?

This used to work but I accidentally made some unrecoverable edits and it stopped displaying. It supposed to adjust the background color of the current notebook. Please have a look and see what is ...
user avatar
  • 1,787
1 vote
1 answer
102 views

setting slider for multiple sets of manipulating variable Manipulate

I am working with data and using manipulate function. I have two sets of values in the manipulating variable list which I combine to form a single list. So, the increment which forms the first set won'...
user avatar
  • 681
1 vote
2 answers
54 views

Expand a slider only when a checkbox is checked and Animate for only once

I have a random walk and I created a checkbox for the animation of the walk. I want the checkbox to do the followings, but I have not found a solution yet: check the checkbox -> the slider of n ...
user avatar
  • 111
6 votes
1 answer
132 views

How to control two different variables with Locator?

It's my first time here but I didn't find answer to my problem and I can't menage that by myself,Mathematica documentation or even by previous stackexchange problems. In Manipulate I have two ...
user avatar
2 votes
1 answer
71 views

How to create a seek bar with Slider

I am trying to create a simple audio player but I am stuck at designing the seek bar. I am using the AudioStream framework. After loading music in a variable <...
user avatar
  • 483
1 vote
0 answers
97 views

How to set an initial value of slider?

So I have Slider[Dynamic@x, {0,3}] Dynamic@Plot[1-Cos[2*x*t],{t,0,Pi}] And I'd like x presents on the slider at x=1 value in the beginning and from that point I ...
user avatar
  • 83
4 votes
3 answers
71 views

Manipulate two graphs with one parameter

This question is related to a previous question Create a slider to illustrate Fubini theorem. Thank to the help of @kglr, now I can create sliders to control the slice. ...
user avatar
  • 425
4 votes
1 answer
137 views

Create a slider to illustrate Fubini theorem

I would like to illustrate the Fubini theorem in Calculus like the following picture (taken from this page): This is what I tried: ...
user avatar
  • 425
8 votes
2 answers
100 views

Avoid clipping label in IntervalSlider?

For custom appearances IntervalSlider seems to clip on the right side: ...
user avatar
  • 30.3k
3 votes
2 answers
63 views

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

I'm creating an application with Dynamics for calculating and plotting circular orbits. It allows the user to set a custom radius, giving them an option to either use an InputField as well as a ...
user avatar
  • 33
0 votes
0 answers
82 views

4D Table, Slider limitation and ploting ListSliceContourPlot3D

This is kinda a follow up to a previous plot where I was trying to visualize a 4D data, T(x,y,z,t) (3D space and time of temperature). SliceContourPlot3D. I wanted to move away from evaluating the ...
user avatar
  • 859
5 votes
2 answers
84 views

Updating/ disabling certain slider values dynamically in Manipulate

I am struggling with Manipulate dynamic updating. I would like to have an image containing two points which can both be moved in real time to any location on the ...
user avatar
  • 145
1 vote
2 answers
53 views

Slider for a list of real numbers versus a list of matrices

Suppose that there are two lists, where capital letters in List1 denote matrices. ...
user avatar
  • 4,391
3 votes
2 answers
145 views

make a slider for a list of matrices

I have a list of matrices, called $matList$, which are sequentially multiplied by another matrix $G$. I created a slider for $matList$, but the slider does not work. Here is the ...
user avatar
  • 4,391
3 votes
1 answer
119 views

FormPage not sending new values from Slider

I have an Association of string keys and numerical values, which is read from a configuration file. I would like to allow users to drag sliders and adjust the ...
user avatar
  • 4,677
3 votes
2 answers
99 views

Slider behaving unexpectedly when non-horizontal

For this simple code {Dynamic@Rotate[Slider[Dynamic@x, {0, 2*Pi}], x], Slider[Dynamic@x, {0, 2*Pi}]} At x=0 the slider has an ...
user avatar
  • 1,941
0 votes
1 answer
390 views

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

Regarding the use of 2D sliders in Manipulate: (1) How do you display the current value (x,y) that corresponds to the location of the slider point? (2) How can one ...
user avatar
  • 755
6 votes
3 answers
302 views

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

After I evaluate the following dynamic expression I encounter an unexpected behavior: ...
user avatar
2 votes
1 answer
278 views

Plot multiple datasets with ListPlot and SlideRegulators

I recently got into Mathematica and have a script from my professor, which calculates and plots some values zR*Tan[phi] + z0 + R1 from different variables. The variables can be adjusted by a slide. I ...
user avatar
  • 21
1 vote
1 answer
155 views

Creating a DynamicModule with multiple variables created automatically

I want to create a DynamicModule that has several variables that were automatically created. For example: ...
user avatar
  • 2,703
1 vote
1 answer
38 views

Use ToExpression["variablename"] in Slider

I would like to realise something like this (minimial example): ...
user avatar
  • 165
2 votes
1 answer
74 views

Implement an IntervalSlider

I do not know how to incorporate an IntervalSlider in the code below in order to change the two instances of the t-domain (in the ...
user avatar
  • 1,146
3 votes
1 answer
216 views

How can I control Manipulate slider bars with an external device?

I have lots of interactive graphics and I want to control the parameters of the Manipulate[...] with a Griffin USB PowerMate plugged in. I tried ...
user avatar
3 votes
2 answers
127 views

How to reduce spacing between vertical sliders?

Consider the following code: ...
user avatar
  • 3,093
1 vote
1 answer
179 views

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

I'm using a dynamic number of sliders and I want to access the current values of them. The values can be seen on the labels. However, I want them to be stored into an array. Below is what I have done ...
user avatar
  • 3,093
3 votes
1 answer
111 views

Slider does not update graphic until SetterBar is changed

I'm illustrating how $sin$ changes when passing different functions to it. For simplicity I'll leave out the $sin$ here. I created a Slider for a parameter and a <...
user avatar
  • 195
2 votes
1 answer
181 views

How to dynamically gray out a slider?

Here's a very simple MWE to show my problem : ...
user avatar
  • 3,533
3 votes
2 answers
111 views

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

Let lower and upper be fixed constants, with lower < ...
user avatar
  • 11.4k
0 votes
2 answers
405 views

Control placement in manipulate environments

Is it possible to have sliders and such appear centered on the top or bottom of the panel? The ControlPlacement options only include ...
user avatar
  • 4,119
3 votes
1 answer
106 views

How can I combine 2D slider with MatrixPlot? [duplicate]

If I enter MatrixPlot[{{1, 2}, {3, 4}}],it shows: How can I combine this with a 2D slider,when I move the slider to a region,it could show me the value that ...
user avatar
1 vote
2 answers
111 views

How to use slider over an arbitrary list? [closed]

I have a list that has no definitive pattern or incremental difference. Can I make a Slider go over the items in the list? For instance, here is an arbitrary list ...
user avatar
  • 683
5 votes
3 answers
244 views

Manipulate Slider to take its values from primes

How do I make the slider values in Manipulate be values that are prime numbers? Many thanks for any assistance. Firstly, many thanks for all your considered and rapid responses. It really is very ...
user avatar
-1 votes
2 answers
364 views

Trying to get the values of sliders from a module

I generated n number of Sliders using the idea from Manipulate with a variable number of sliders But I need the updated values of these sliders to use to evaluate ...
user avatar
  • 859
10 votes
1 answer
1k views

Using Interval Slider in Manipulate for Plot Functionality

I am trying to incorporate Interval Sliders in Manipulate to allow the user to select a range to view a given plot. Here is an example that I have constructed for ...
user avatar
  • 339
1 vote
1 answer
534 views

Creating a Dynamic Time Index Slider for List Animate Plot

I am trying to create an animation using ListPlot, which has worked, but I want to be able to see how time is changing (i.e. its dynamic value) as the animation runs. Here is my normal List Plot ...
user avatar
  • 23
4 votes
3 answers
259 views

Manipulate controls don't work

I find one solution to make +/- buttons near Slider Control of Manipulate. But I don't understand why it works so bad. ...
user avatar
  • 101
4 votes
1 answer
215 views

Appearance of a slider

I just observed that in Mathematica 10.3 for Windows the appearance of a slider has been changed. The slider is now blue, black when the mouse is over the slider and gray when the slider is dragged. ...
user avatar
  • 9,859
1 vote
2 answers
143 views

Manipulate slider freeze, and empty value in box

Here's a MWE code to show two problems I'm experiencing with the sliders and their value box, under Manipulate : ...
user avatar
  • 3,533
2 votes
2 answers
200 views

Question about Slider and adding buttons

I would like to add some buttons next to a slider for higher accuracy movements. For instance I have this slider, which has 1-step, pretty easy to use. ...
user avatar
  • 523