Questions tagged [slider]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
2answers
389 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
59 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 ...
1
vote
1answer
45 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 ...
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...
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 ...
2
votes
4answers
453 views

Slider for different plots

Hi I've got 12 different plots and I want to be able to cycle through them with a slider, however, none of the options for manipulate or slider seem to be able to handle multiple plots. My parameter ...
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. ...
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 ...
7
votes
1answer
349 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
76 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
45 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
79 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'...
2
votes
1answer
67 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
2answers
50 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
131 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 ...
1
vote
0answers
79 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
1answer
124 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: ...
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. ...
8
votes
2answers
98 views

Avoid clipping label in IntervalSlider?

For custom appearances IntervalSlider seems to clip on the right side: ...
3
votes
2answers
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 ...
0
votes
0answers
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 ...
3
votes
1answer
215 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 ...
5
votes
2answers
82 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 ...
3
votes
2answers
141 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
117 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 ...
6
votes
3answers
296 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: ...
3
votes
2answers
98 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
335 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 ...
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 ...
2
votes
0answers
89 views

Precision of sliders in WebMathematica

I have been developing a Manipulate plot to put on the web. One of my parameters varies over a small interval, ...
1
vote
1answer
148 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
38 views

Use ToExpression["variablename"] in Slider

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

How to reduce spacing between vertical sliders?

Consider the following code: ...
1
vote
1answer
175 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
110 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
377 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
101 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
108 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
242 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
359 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
512 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
254 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. ...
9
votes
2answers
354 views

Passing an unevaluated part of an association to a function

I'm making a UI widget that controls sound volume on a speaker using a slider, e.g.: ...