Questions tagged [dynamic]

Questions relating to the dynamic family of functions in Mathematica, such as Dynamic, DynamicModule and Manipulate.

Filter by
Sorted by
Tagged with
2 votes
1 answer
65 views

Getting formula & graph from locatable points

My goal is to, firstly, get formula-I think Findformula function might be used- from locatable points(for example from 10 locatable points as below),and secondly,superimpose the graph of formula over ...
Soon's user avatar
  • 347
1 vote
1 answer
97 views

Make `Manipulate` work despite `Clear["Global`*"]`

What is the correct way to stop all my Manipulate cells from breaking every time I issue ClearAll["Global`*"] command? ...
Yaroslav Bulatov's user avatar
2 votes
3 answers
158 views

How to maintain the input form of InputField?

I created a Manipulate with InputField: ...
Hoony's user avatar
  • 1,459
5 votes
1 answer
69 views

How to most responsively manipulate time intervals in ParametricPlot?

I often met with the case where I want to show the past trajectory of a object. A way of demonstrating this is to plot the trajectory using ParametricPlot, and then ...
Wjx's user avatar
  • 9,518
0 votes
0 answers
32 views

Help fixing dynamic graphics with multiple features

I'm trying to create a graph drawing widget, here are its basics that just allow you to create and drag vertices: ...
swish's user avatar
  • 7,611
3 votes
1 answer
68 views

Locating points by selecting points

My goal is to locate points without using slide bars then average point is dynamically plotted. Could I select and locate a point directly without using the slider bar?(I could locate points using ...
Soon's user avatar
  • 347
2 votes
1 answer
183 views

Wolfram Mathematica and Arduino serial data capture not working Dynamic stream

This post is a continuation and modified version of an earlier post from few years ago. Please help with the Dynamic function capturing data from a Serial stream from Arduino. I am not having luck ...
Jose Enrique Calderon's user avatar
3 votes
2 answers
100 views

Correctly localize variables in Manipulate

I’m doing a little project for Wolfram Demonstration. When I create snapshots, i.e. paste several times Output cell of Manipulate, all of them updates simultaneously, if any control is changed. I ...
lesobrod's user avatar
  • 1,187
3 votes
3 answers
175 views

How to launch a Manipulate (or a function that uses Manipulate) via a Button

(Mathematica v13.3) This seems to do nothing when you click the resulting Button: Button["Launch", Manipulate[pt, {pt, {-1, -1}, {1, 1}}]] Setting ...
Webel IT Australia - upvoter's user avatar
1 vote
1 answer
74 views

Unwanted reevaluation in Manipulate with RandomPointConfiguration

Here is a simple illustration of a problem I am encountering. I want to use RandomPointConfiguration inside Manipulate, but it ...
Russ Lyons's user avatar
1 vote
1 answer
58 views

How to set the width of InputField in tables with dynamical content?

I have written the following code to generate the table that is shown below. ...
JuanC97's user avatar
  • 560
0 votes
2 answers
58 views

Using Dynamic string output inside Block

Inside a Block, I have (among other things) a string output that is updated during an internal for loop in the following (schematic) way: ...
michelangelov's user avatar
1 vote
3 answers
102 views

Combine Dynamic[] and Manipulate[]

I'd like combine Dynamic and Manipulate, cause Manipulate required for Wolfram ...
lesobrod's user avatar
  • 1,187
3 votes
1 answer
89 views

Why do I need to use Dynamic in order for Plot to work?

I have a problem. I'm on 13.3. I have setup an expression in the following manner: F /: f[F, {x_, y_}] := x y (* x*y is an example of a specific functional form *) ...
joka's user avatar
  • 322
1 vote
2 answers
136 views

Multiparameter GUI with button-driven update

I would like to be able to evaluate a function based on multiple Slider values by pushing a Button that creates the function, ...
Alan's user avatar
  • 13.6k
2 votes
1 answer
99 views

Need an equation for modeling Tytler's Cycle

In all cultures over all time there appears, in different languages for different countries, the maxim "Shirtsleeves to shirtsleeves in three generations." This is a function with three ...
Rogo's user avatar
  • 790
3 votes
2 answers
79 views

Problem with Association in DynamicModule

How can I understand the success of the first append but the failure of the second, here? (Mma 13.3.) Is there a ready work around? ...
Alan's user avatar
  • 13.6k
3 votes
2 answers
90 views

Create vanishing button to transition between images

I have multiple "slides" that I would like to transition between, by clicking a specific area on each slide. eg: ...
martin's user avatar
  • 8,152
0 votes
0 answers
40 views

Dynamic of the content of a certain cell (using NotebookRead)

Initial state : ...
imida k's user avatar
  • 4,047
0 votes
0 answers
79 views

Interactive control panel using dynamic is surprisingly slow

I am hoping to create a user interface for performing gaussian fits on two dimensional data. I made a basic grid of various controls and labels. The tool works, but it's much slower than I anticipated,...
Tapiocaweasel's user avatar
0 votes
2 answers
124 views

Real-time function graph display

I would like to see how the graph of the function en[B, i, j, k, p] changes depending on i, j...
Mam Mam's user avatar
  • 1,753
1 vote
1 answer
69 views

Dynamic text input of equation for graphing

I'd like a simple interface where the user can input (by text) a function $f(x)$, and then the function, its even part, and its odd part are all plotted on the same axes. I'd also like PlotLegend to ...
David G. Stork's user avatar
1 vote
1 answer
41 views

Setting FrontEnd`$ControlActive in EventHandler

Is it possible to emulate the behaviour of ControlActive[] for an ordinary Control[] when implemented by an ...
David Eph's user avatar
1 vote
0 answers
71 views

Plotting equipotentials line of a Julia set in Mathematica

I need to plot the equipotential lines of the Julia sets of the polynomial $f(x)=x^2-1$ by using Mathematica, but I don't have a good background in programming. Given $f$, with equipotential lines I ...
cartesio's user avatar
  • 111
0 votes
0 answers
20 views

`Dynamic`caly change values of an association [duplicate]

Here are two attempts to make a slider that changes an value of an association. ...
Jineon Baek's user avatar
1 vote
1 answer
69 views

Wolfram notebook Dynamic not updating in wolfram cloud

I have this very simple program: ...
user3447795's user avatar
1 vote
0 answers
46 views

Dynamic table of buttons

Suppose I start with a list list ={{1,2},{3,4}}; I would like to have a table of buttons of the same form, starting with labels 1,2,3,4. By pressing each button, ...
Preem's user avatar
  • 195
0 votes
0 answers
97 views

Speeding up a dynamic vector plot

I would like to create a vector plot with a solution such that the vector plot is based on an underlying parameter en that I can adjust. With the help of Click in a vector plot to plot several ...
Ben Lou's user avatar
1 vote
0 answers
29 views

Block the appearance of the dialog windows "The kernel is not responding to a Dynamic Evaluation" and "Abort Dynamic Evaluation" [duplicate]

I have high-demanding Mathematica task which uses a lot of CPU. Its evaluation is interrupted with two types of an annoying dialog window. The first one is "The kernel is not responding to a ...
John Taylor's user avatar
  • 4,632
2 votes
1 answer
64 views

`Manipulate` updating when it should not

I have a Manipulate[ListPlot[data[[m;;n]],{m,1,10},{n,1,10}]. I execute, the plot is shown, I save the notebook, close Mathematica. I run Mathematica again, start ...
atapaka's user avatar
  • 3,723
4 votes
0 answers
84 views

Is it possible to prevent the very first evaluation of Dynamic when it appears on screen?

Is it possible to tell DynamicBox to not run its very first dynamic evaluation when it appears on screen, and instead, to just show its ...
QuantumDot's user avatar
  • 19.5k
2 votes
1 answer
41 views

Run Initialization in Manipulate Manually

Although I have received a lot of help, there is a rather difficult question. Let we have a system with parameter: $$x_{n+1}=x_n^p$$ As long p changes, we have to ...
lesobrod's user avatar
  • 1,187
1 vote
1 answer
87 views

Recording results of Manipulate

I'm studying the effects of some parameter on a complex system. When we change the parameter, the system is converted and we need to write each new state to the list. Problems encountered in using <...
lesobrod's user avatar
  • 1,187
1 vote
1 answer
83 views

Creating and printing a real-time evaluation timer

I want to print a timer that starts at 0 when an evaluation begins and stops when the evaluation is completed. I have come up with the following solution using Clock...
oakley09's user avatar
3 votes
1 answer
52 views

DSolve output displays different from actual output after using locator in Manipulate

V 13.2.1 on windows 10 If you look at this it does look bizzar, right? The same variable sol is different from what it should be above it. But the above ONLY ...
Nasser's user avatar
  • 136k
0 votes
0 answers
32 views

Change parameter in dynamically updating plot // Manipulate outside of Dynamic // GUI for dynamic plot

I want to dynamically plot the Kuramoto model with the parameter K as an adjustable slider \dot theta_i = omega_i + K/N \sum_j sin(theta_j - theta_i) For fixed K, ...
khev's user avatar
  • 1
4 votes
1 answer
77 views

Dynamic module won't pause when toggled (version update problem?)

I ran this code in 2019 to give my students a simple Fourier filtering exercise. It generates some multi-tone sound data, then plays the tone (allowing the user to pause the playing, since the tone ...
George Rutherford's user avatar
1 vote
0 answers
46 views

How to track the changes of the variable on a low level / TrackedSymbols? [duplicate]

There is a nice option to Dynamic or Manipulate wrapper functions, where one can specify, which of symbols Mathematica should ...
Kirill Vasin's user avatar
  • 1,177
2 votes
0 answers
39 views

Freeze slider if locator moved

I have list of many locators in my Manipulate: {{listoflocs, listoflocsinit }, Locator, LocatorAutoCreate -> True } And I have a slider there: ...
jkjfgk's user avatar
  • 21
0 votes
0 answers
55 views

Reset Button for Manipulate and freezing Sliders

I work on a Bezier curve subdivision project. I managed to implement it, but I faced some problems. (The code of my program is presented below.) Firstly, if I change parameter n after changing other ...
jkjfgk's user avatar
  • 21
2 votes
1 answer
67 views

Example of using Dynamic and DynamicModule from Wolfram site

What this example code from https://reference.wolfram.com/language/ref/Dynamic.html (under Applications section the first example) should teach us? ...
azerbajdzan's user avatar
  • 9,568
2 votes
2 answers
233 views

'Manipulate' keeps updating output even though the manipulated variable has not changed

Why is the following code keeping updating an output with increasing variable v, even though I have not changed the manipulated variable ...
azerbajdzan's user avatar
  • 9,568
0 votes
0 answers
47 views

Preventing Evaluation of Body of Manipulate

Overall, I am looking for a way to prevent the evaluation of the body of Manipulate until the controls meet a certain condition. For example, consider the following....
Just Some Old Man's user avatar
4 votes
1 answer
102 views

How to Build an Interaction GUI that Interrupts Calculation?

I would like to construct a GUI using just the Mathematica language that allows me to start and stop a calculation interactively with the press of buttons. I have set up the following to show what I ...
BenKolt's user avatar
  • 101
1 vote
0 answers
75 views

DynamicModule for dynamic function with parameters

I want to be able to Dynamically Plot functions with parameters. One should be able to change the parameter and the function, while the function field should accept the parameter and the variable, ...
PepeToro's user avatar
  • 133
0 votes
1 answer
116 views

How can I nest a complex function?

I am examining the mandelbrot set so I need to iterate the function f[z_Complex, c_] := (z)^2 + c Besides, I want to choose the complex numbers dynamically from ...
Süleyman Küçük's user avatar
3 votes
1 answer
129 views

Possible Lagrangian: ODE and System of ODE's

For the Lagrangian: ...
dtn's user avatar
  • 2,364
1 vote
0 answers
38 views

Can one use Ctrl and cursor position to get short documentation from a function like hovering

I would like to minimize how often I use my mouse. One time where I have to use the mouse is when I hover over a function to see the options for that function and a short explanation of the usage of ...
userrandrand's user avatar
  • 5,727
0 votes
1 answer
53 views

Dynamically highlighting all substrings

I want to dynamically highlight all substrings that are equal to selected substring inside string str. Also I want the string str...
azerbajdzan's user avatar
  • 9,568
4 votes
2 answers
218 views

Animating a potential function (eigenfunctions of Laplace's equation) - something has changed

I had this working with Kuba's help some time ago see here but something has changed. I am using version 13.0. The animation lay out has changed to this configuration where the animation bar is ...
Hugh's user avatar
  • 16.1k

1
2 3 4 5
29