Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dynamic]

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

0
votes
1answer
83 views

Dynamic number of parameter fits in Mathematica

I am trying to learn if in Mathematica one can perform fits of analytic functions that are expanded and written as power series. In particular, we can consider the following generic form: $$ f(B,x) = ...
1
vote
1answer
32 views

Dynamic not updating InputField

I'm trying to do some interactive fitting of data using an arbitrary number of the same function (a Gaussian in this case). This means that I also have an arbitrary number of variables and constraints....
1
vote
1answer
27 views

Using Switch inside Dynamic with variable number of conditions

I'm trying to create some code that plots a variable number of Gaussians, and allows me to control their parameters using Locators. One locator at the top controls $...
0
votes
1answer
81 views

Plotting a circle that can move up and down the y-axis

How can I create a circle for the equation $\qquad x^2+(y-a)^2=9$ where $a$ is a parameter. I want to plot this curve with a slider $(a)$ in Cartesian coordinates (better with axes). If possible, ...
3
votes
3answers
132 views

Local variables in DynamicModule affected by outside evaluation

I was trying to use DynamicModule to create a Input cell that contains a variable assignment, where the variable name is given ...
1
vote
1answer
54 views

Two locators on two different plots in Manipulate

I am trying to create a Manipulate module that shows two plots, and have locators on each of those plots, as well as two sliders. The locators do do not affect each ...
1
vote
0answers
33 views

Basic question about update of dynamic content [duplicate]

Sorry if this has already been answered 50 times, but here it goes: why does ...
1
vote
1answer
51 views

DSolve behaves weirdly with dynamic [duplicate]

I am an beginner in using dynamics as well as mathematica. I am trying to ask mathematica to solve and plot the solution of X'=AX with dynamic every time my matrix A updates. However the Dsolve ...
0
votes
0answers
34 views

Kernel crash with InputField[Dynamic]

InputField[Dynamic[h, (h = #) &], FieldSize -> 20] Dynamic[h] When we enter h=1.1+x, the program exits. However, with <...
1
vote
1answer
58 views

How do I make a Module return values upon a button press?

I have put together a function of the form: ...
1
vote
1answer
52 views

Dynamic Plot of multiple Disk Graphics

I want to plot multiple disks with disk-coordinates and disk-radii from two dynamically updated lists. I think there should be an easy way to do that but I dont get it. Thx for your help! ...
0
votes
1answer
50 views

Advanced Dynamic Input

Note: I have corrected this question to fix an error in my understanding of RealExponent (which I have now removed). Suppose that I have a bunch of parameters that I want to set interactively using ...
8
votes
2answers
148 views

Query inside Dynamic triggers continuous high CPU load for FE

Here is a (vicious) problem I am able to reproduce with v12 and v11.3 (previous versions not tested) and OSX. This is a minimal example to demonstrate it (even if it seems useless here I do need <...
2
votes
0answers
44 views

Dynamic and TrackedSymbols

Consider Column[{ Slider[Dynamic[x]], Dynamic[x;RandomReal[]], Dynamic[RandomReal[], TrackedSymbols:>{x}] }] I expected that both dynamics would update ...
0
votes
0answers
35 views
0
votes
0answers
85 views

Is it possible to find the Rössler attractor using only a set of Lyapunov exponents?

Is it possible to use a set of Lyapunov exponents to determine the orbits of the Rössler system? If so, could how would I go about plotting them? EG. Known Unknown
6
votes
2answers
77 views

Store Dynamic-accessible hidden metadata in a cell

Is there a way to store metadata in a cell in such a way that it can be accessed with Dynamic? Think of e.g. how ExternalLanguage cells work. We can select whether ...
0
votes
0answers
28 views

Custom PopupMenu displays menu items as values instead of labels

I'm trying to create custom appearance for PopupMenu with the below code. The problem I have is with the menu items which are displayed as values instead of labels. ...
0
votes
0answers
46 views

Dynamic updating issue

I would like to evaluate/simplify a series of expressions. The first set of expressions works fine, but when I try to evaluate the second line of my code (a very simple expression), the program keeps ...
1
vote
0answers
25 views

Dynamics not updating normally in Wolfram Cloud

In Mathematica, InputFields and Sliders that are connected to Dynamics will change their ...
1
vote
1answer
51 views

How to create dynamic PlotLegends?

How to add dynamic PlotLegends to the below code? ...
0
votes
0answers
45 views

Using Dynamic[] function

I would like to use Dynamic[] to print progress of evaluation of some function, which works quite long. let's say that the definition of ...
0
votes
1answer
40 views

AppendTo doesn't update when interacting with PopupMenu

I'm trying to ListPlot a list calculated by the Button called "Plot" with PopupMenu linked ...
2
votes
0answers
38 views

Problem with PopupMenu: Its values don't update dynamically

I have a problem with PopupMenu inside DynamicModule, its values don't update dynamically as they supposed to. The example below ...
6
votes
4answers
143 views

Dynamic Linkage of LocatorPane and InputField

How do I get the InputField to coordinate with the LocatorPane so that a change in each control changes the other to be in agreement? It would be nice if the function was self-contained and was ...
5
votes
2answers
94 views

Manipulate with arguments points on a circle

Start with the following parametric equations of a torus: ...
2
votes
1answer
57 views

How to force ListPlot to print the new curve while keeping the old one

I would like to create a graph using ListPlot which prints new dataset every time the button is evaluated (based on the value given in ...
1
vote
1answer
35 views

Problem when using TrackedSymbols and UpdateInterval to refresh different expressions at different times inside Dynamic

While attempting to optimize my program, I noticed an issue with the Refresh expressions I am using inside a particular Dynamic[]. I will use a simplified example ...
3
votes
0answers
44 views

Geographics Geolabels and Polygons

Using Vers. 11.3.0, I've prepared Maps of the various Japanese Prefectures (ken). Here, I create 3 such maps, as follows: ...
10
votes
2answers
198 views

Efficient multicolor search

I'm hoping someone can help me improve the following fun code-snippet, which takes a target color and searches through a set of images to find the ones that most closely match: ...
1
vote
1answer
48 views

What is the best way to dynamically evaluate multiple function?

I have a notebook with a list of operation where the result of a function is the input of the following. Example: ...
5
votes
1answer
48 views

IntervalSlider and updating function specification

IntervalSlider seems to ignore Dynamic's second argument: ...
1
vote
0answers
26 views

How to open consecutive dialogs [closed]

I am new using mathematica so I would really appreciate your help. I want to open this dialog: ...
3
votes
1answer
58 views

Getting print messages into a Custom User Interface constructed via DynamicModule

I have not been able to find the answer for the following problem, and would be happy to be educated. I am writing a custom user interface around some code that has lengthy calculations. In the ...
3
votes
3answers
101 views

How can I make Graphics objects clickable?

I have created a list (listA) that specifies disks based on color, center point, and radius: ...
1
vote
1answer
76 views

Problem with MousePosition after rotating a graphic

i've been doing a dynamic matrix plot using MousePosition but i need to rotate the plot 45°. but when i do that the MousePosition lose coordinates. Any idea of how to do the rotation keeping ...
0
votes
0answers
32 views

Real-Time Image Processing [duplicate]

There is a code from wolfram Documentation Center ...
0
votes
1answer
66 views

Sliding a tangent along a curve [duplicate]

I am having a difficult time making my Manipulate show what I want in the CDF player. I want to show a tangent sliding along any curve ...
1
vote
2answers
136 views

Select items from dataset with GUI using checkbox and Togglebar : empty results with DynamicModule

I have a dataset or records, I want to select records with a GUI (manually ticking on the selected item). Then, I want to apply functions to those items (not in this question). I think Im almost ...
2
votes
1answer
103 views

Why doesn't Dynamic update if it only contains a Set statement? [strict]

Consider the 3 following manually entered evaluations where a Set statement is brought to the Front-End by Dynamic: Obviously ...
0
votes
0answers
37 views

Attempting to speed up processing time by cutting down on dynamic functions in an interactive interface

Greetings Mathematica fans, I am currently trying to build an interactive interface to sift through a large amount of data visually. The data consists of many sets containing 70-80 points, which have ...
1
vote
1answer
42 views

Dynamic DateListPlot with multiple categories backed by DataSet

I have a DataSet that contains records with: an "activityName" string representing the kind of activity a "duration" value representing minutes a DateObject representing a date and time named "...
0
votes
0answers
43 views

Create a color function from dynamic panel

I would like to generate a color function from the dynamic panel code and use it as I want...instead of using Copy to Clip Board and then past in myTM.... Any idea ?...
0
votes
0answers
50 views

Problem with small program: Error: “Charting Private pvar”

Im in the making of a smaller self-running application. I have made a small piece of the program as it has to look in the end. However, sometimes when i change some of the input for either "demand" or ...
2
votes
1answer
40 views

How to change color of LocatorPane Dynamic point constrained to LogLogPlot line - when point is above set value?

In the following LogLogPlot, I'd like to have the Dynamic[pt] color change from Purple to <...
2
votes
0answers
38 views

Loading previous saved variables into DynamicModule

I have a GUI, built inside a DynamicModule. I would like to be able to load previous set options and values, changing the values that are currently set within the DynamicModule, not the global ...
2
votes
1answer
26 views

How to constrain LocatorPane Dynamic point to a LogLogPlot line?

LocatorPane constrains to Plot[curve]: ...
5
votes
0answers
81 views

ListLogPlot fails if Dynamic Updating not enabled - Ticks specification?

MMA 11.0.1.0 Win 10 64 bit; MWE ListLogPlot[Exp[Range[10]]] With Dynamic Updating Enabled, result is correct. Without it MMA complains "Tick specification must ...
1
vote
0answers
30 views

Why doesn't Dynamic update if it only contains a Set statement? [duplicate]

Consider the following toy example: ...
1
vote
0answers
26 views

Why does dragging a point with a Tooltip interfere with MousePosition[“Graphics”]?

Consider the following toy example of EventHandler used to implement dragging a point around in a Graphics: ...