Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
12 views

Kernel problem with dynamic evaluatio

Every time i try to evaluate an animated plot. My kernel stops
0
votes
0answers
59 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
33 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
21 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
1answer
36 views

Button to evaluate manipulate/dynamix [closed]

Im making a big program which at the moment runs really slowly. Is it possible to make a button for dynamic/manipulate, such when this button is pressed it will evaluate the cell ONE time and ...
0
votes
0answers
25 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
20 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
32 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
25 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
23 views

How to constrain LocatorPane Dynamic point to a LogLogPlot line?

LocatorPane constrains to Plot[curve]: ...
4
votes
0answers
63 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
27 views

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

Consider the following toy example: ...
1
vote
0answers
24 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: ...
1
vote
1answer
44 views

Using Mouseover to change colour of the FilledCurve

I would like to change colour of the FilledCurve and display little table when mouse pointer goes over the area between curves. My code is shown below ...
3
votes
1answer
36 views

How to get TogglerBar to respect image sizes?

I'm using a TogglerBar with a set of images, but I can't figure out how to get it to respect the size of the images: ...
9
votes
1answer
291 views

Making an interactive visualization of the eigenvectors of two-dimensional matrices

I've recently stumbled upon this very nice interactive visualization of eigenvectors of two-dimensional matrices, and how powers $A^k$ act on various vectors. How can this sort of visualization be ...
9
votes
3answers
347 views

Coloring a square grid by clicking

I want to make an interface where a user can fill in a square grid by clicking. Some processing will then be done with these pixels to produce a new picture. How can I make this clickable interface? I ...
0
votes
0answers
30 views

Dynamic If for a button to choose the package [duplicate]

I have a calculation where I give the user an advance option to choose a variable, PV. If the user chooses not to use the PV, ...
7
votes
0answers
36 views

Thermometer Gauge with ScalingFunctions Broken?

Is this broken? The following generates an error: ThermometerGauge[Dynamic[t], {1, 100}, ScalingFunctions -> "Log10"]
0
votes
1answer
72 views

Is it possible to find the equation of motion of a spring-mass system using differential equations as input?

I am searching for a solution the check the validity of my calculations on standard dynamics problems. Basic mechanical engineering environment, systems containing movable masses connected to each ...
1
vote
1answer
52 views

Transition Between Two Plots

Say I have two data sets, data1 and data2 ...
2
votes
0answers
35 views

Selected image in a TogglerBar changes outline colour

I have a TogglerBar control for selecting images, but I see inconsistent border colours depending on what else is in the Dynamic....
0
votes
0answers
11 views

Trouble with evaluation and Dynamic [duplicate]

I would like to evaluate the gradient of a certain function at position (x0,y0,z0) where x0, y0, z0 are global variables which can get altered in real-time later in the worksheet. The only way I know ...
1
vote
1answer
36 views

Dynamic updating of upper limits of constraints when a matrix is updated

I have a system represented by a matrix mFull: ...
1
vote
1answer
38 views

InputField enabled or disabled with two dynamic variables

Dynamic has been really useful for me but it is as well not easy to understand also. I am doing a calculation where I want some of the input fields enabled or disabled depending on where I am in the ...
6
votes
2answers
147 views

Interactive Labeling of Images

I have a list of pictures: pictures = {im1,im2,im3,im4,im5,im6} Where im1: im2: im3: im4: im5: im6: I want to assign the pictures to labels (1,2,3,4,5 ...
1
vote
1answer
25 views

UpdateInterval not working correctly

I fail to see why the following code does not turn the hand at the same rate as the minute hand of a clock: ...
5
votes
2answers
320 views

How do I dynamically draw an image?

Suppose I have some two dimensional list. For example: list = Partition[Range[0, 48], 7]; And I have some function that assigns a colour to each entry of the ...
1
vote
2answers
64 views

Plotting dynamic variable generated by checking Region intersections

I have been trying to plot a variable which is nested inside a manipulate. Here is a simplified version of the program. ...
2
votes
1answer
42 views

Monitor the values of two variables at the same time

Monitor and Dynamic give the possibility to check the value of one variable in a program, but is it possible to monitor the ...
0
votes
0answers
24 views

Manipulate dynamic PopupMenu drop down selector

I am trying to get a PopupMenu in Manipulate that will be dynamically updated. The code that seems correct is below: ...
3
votes
1answer
48 views

Simulation using Manipulate within Manipulate

Suppose there is a list of matrices (say m matrices), matC. The first element of this list is considered as the Benchmark matrix ...
3
votes
1answer
51 views

How to use the progress indicator in “open from cloud”?

I like the circular loading indicator seen in the "save to the cloud" dialog: Is there any way to call it programmatically?
6
votes
1answer
71 views

How to force a Manipulator inside a Manipulate to auto-run?

I want to use a slider (not drop-down list) for a list of discreteValues to do the Manipulate (I used ...
0
votes
1answer
108 views

Manipulate within Manipulate

Since the original post of mine, which is below, is too long, too complicated and time-consuming for others, I tried to mimic the same structure with a very simple ...
1
vote
0answers
26 views

How might I make the vertex labels in a tree plot clickable, the click triggering the playing of a sound? [duplicate]

This project explores epimoric ratios in relationship to musical harmonics. I have a simple treeplot of epimoric ratios in their relationship to each other. I generate it thusly: ...
0
votes
0answers
84 views

Dynamic loop unexpectedly stops in CDF Player Pro V11.3

Correction The issue described below it is not caused by CDF Player Pro after all. Apologies for the confusion. The Dynamic loop just unexpectedly stops anyways (it just takes longer when run in ...
4
votes
2answers
78 views

Conveniently rotate animated 3D graphics

3D graphics can be easily rotated interactively by clicking and dragging with the mouse. Is there a simple way to achieve the same for animated 3D graphics? I would like to rotate them interactively (...
5
votes
0answers
90 views

MousePosition in AttachedCell?

I can't figure out why the following stops working when "WindowAbsolute" is replaced with "Graphics"? ...
4
votes
1answer
131 views

My clock doesn't work

I have this code. When I click on the clock, my alarm don't activate and not work. I have tried with DynamicModule and nothing. I don't know where is the error. <...
0
votes
0answers
69 views

Mission impossible: initial value of slider that correctly resets another slider

Please take this code (for 2 sliders) as is and try to minimize alterations to the original structure. The goal is to have: the first Slider reset the second ...
5
votes
1answer
71 views

Changes to tracked variables in DynamicModule don't count as changes to notebook

I'm using DynamicModule with Manipulate to save the state of the manipulated variables in the notebook across sessions, and that ...
4
votes
0answers
41 views

Is there a way to track the current context without updating at regular time intervals?

I would like to create a dynamically updated value of the current $Context. The problem I have encountered is that the expression ...
10
votes
0answers
151 views

Dynamic is significantly faster and more responsive with LinkSnooper

I noticed an absolutely bizarre behavior of Dynamic. A simple dynamic module with SynchronousUpdating -> False is ...
5
votes
0answers
29 views

Dynamically access variables in external session?

I tried to get a value from a python session to show up in a dynamic cell: First run: ...
2
votes
1answer
40 views

Nested Dynamics for moving locators

I'm trying to dynamically draw an ellipse on the image acquired from a camera. See code below: ...
1
vote
3answers
59 views

Dynamically selecting Rows from a Grid

This question is related to the following Interactively select a row/column of a Grid I’d like to present information in a grid where in the user can choose from the entries in the table. As shown ...
3
votes
1answer
62 views

How to Join Dynamic Graphics

I am just getting started with Mathematica and I want to join two dynamic plots that I'm playing with. They are generated by the following code: ...
2
votes
1answer
77 views

CDF Deploy of dynamic module

I am trying to deploy a CDF file with a small animation that does the following: when the button is pressed, it plays a sound and displays a spectrogram ; while the sound plays, a red progress line ...
0
votes
0answers
42 views

Dynamic is either fast or correct evaluating slow function on synchronous link

I am working with audio on a data preparation algorithm that detects specific points in an audio file, and making a tool for myself to help me go through a couple hundred files quickly enough to find ...