Questions tagged [slider]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
2answers
367 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? ...
1
vote
1answer
91 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 ...
1
vote
1answer
40 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 ...
0
votes
1answer
27 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 ...
4
votes
2answers
178 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...
1
vote
1answer
43 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 ...
0
votes
0answers
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 ...
3
votes
1answer
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 ...
7
votes
1answer
341 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. ...
2
votes
1answer
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 ...
2
votes
1answer
71 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 ...
0
votes
1answer
44 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 ...
1
vote
1answer
69 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'...
1
vote
2answers
47 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 ...
6
votes
1answer
129 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 ...
2
votes
1answer
65 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 <...
1
vote
0answers
76 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 ...
4
votes
3answers
66 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. ...
4
votes
1answer
120 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: ...
8
votes
2answers
95 views

Avoid clipping label in IntervalSlider?

For custom appearances IntervalSlider seems to clip on the right side: ...
3
votes
2answers
59 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 ...
0
votes
0answers
80 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 ...
5
votes
2answers
78 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 ...
1
vote
2answers
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. ...
3
votes
2answers
140 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 ...
3
votes
1answer
113 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 ...
3
votes
2answers
97 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 ...
0
votes
1answer
309 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 ...
6
votes
3answers
290 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: ...
2
votes
1answer
261 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 ...
1
vote
1answer
144 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: ...
1
vote
1answer
36 views

Use ToExpression["variablename"] in Slider

I would like to realise something like this (minimial example): ...
2
votes
1answer
72 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 ...
3
votes
1answer
213 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 ...
3
votes
2answers
118 views

How to reduce spacing between vertical sliders?

Consider the following code: ...
1
vote
1answer
173 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 ...
3
votes
1answer
109 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 <...
2
votes
1answer
179 views

How to dynamically gray out a slider?

Here's a very simple MWE to show my problem : ...
3
votes
2answers
111 views

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

Let lower and upper be fixed constants, with lower < ...
0
votes
2answers
361 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 ...
3
votes
1answer
100 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 ...
1
vote
2answers
107 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 ...
5
votes
3answers
240 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 ...
-1
votes
2answers
356 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 ...
10
votes
1answer
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 ...
1
vote
1answer
502 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 ...
4
votes
3answers
253 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. ...
4
votes
1answer
212 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. ...
1
vote
2answers
139 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 : ...
2
votes
2answers
195 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. ...