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
0answers
96 views

Plotting the Henon map

The Henon map can be easily plotted with the code ...
2
votes
0answers
27 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: ...
9
votes
2answers
186 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
42 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
42 views

IntervalSlider and updating function specification

IntervalSlider seems to ignore Dynamic's second argument: ...
1
vote
0answers
24 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
44 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
92 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
74 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
58 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
106 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
100 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
37 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
37 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
26 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
36 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
30 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
24 views

How to constrain LocatorPane Dynamic point to a LogLogPlot line?

LocatorPane constrains to Plot[curve]: ...
5
votes
0answers
71 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
25 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
46 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
38 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: ...
11
votes
2answers
337 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
415 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
77 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
53 views

Transition Between Two Plots

Say I have two data sets, data1 and data2 ...
2
votes
0answers
39 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
39 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
47 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
150 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
28 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
329 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
67 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
45 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
26 views

Manipulate dynamic PopupMenu drop down selector [duplicate]

I am trying to get a PopupMenu in Manipulate that will be dynamically updated. The code that seems correct is below: ...
3
votes
1answer
50 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
83 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
110 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
27 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
86 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
91 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 (...
11
votes
1answer
201 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. <...