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
1answer
26 views

How to pause an Animator with Mouseover?

I would like my Animator to pause when the mouse is not over it. For example, here it continues to update even when it's not moused-over: ...
6
votes
0answers
87 views

Unsecured Chat when Dynamic Update is Enabled

Mathematica v11.3 has just been released, A new feature, Chat, could be found In File>New>Chat. It is convenient when communicating code with other users, but ...
0
votes
0answers
32 views

Error in CDFDeploy

I'm deploying a Manipulate code to a CDF using CDFDeploy. Everything was going fine until now. All of a sudden, I'm getting the ...
1
vote
0answers
48 views

Troubles With Dynamic,Panel in Riemann Sum Program

Tl:DR: Scroll all the way down General overview : This program aims to construct a demonstration of the Riemann sum by summing up the area of rectangles under the graph of a function....
2
votes
1answer
70 views

Use the InteractiveTradingChart style slider in IntervalSlider

I want to combine IntervalSlider with a small plot,just like the InteractiveTradingChart. https://reference.wolfram.com/language/ref/InteractiveTradingChart.html I can only find the closest example ...
6
votes
0answers
68 views

TableView interactive use

I am attempting to use TableView (added in version 12.1) interactively to edit data and save the edited data. The following works. ...
0
votes
1answer
18 views

How to set variable range for Slider2D in DynamicModule?

I would like to have a Slider2D for a variable x but at the same time I have RadioButtonBar for another variable U. I want the Slider2D's range to change as I change U. I wrote this code but it doesn'...
0
votes
0answers
33 views

transparent plots flash white when updating

As my university moves to online instruction, I am trying to make high-quality video presentations using Mathematica slide shows. I can easily get the content I want, but it seems tricky to display ...
2
votes
0answers
53 views

Interactive Graph Construction

I'm interested in constructing an interactive GUI graph generator, where I can add and delete vertices and edges. I'm aware of this question, and this is but a quick follow-up to this answer. I would ...
4
votes
1answer
599 views

My Computer crashes every time after I run this - Abort Dynamic Evaluation error

This code makes my computer crash, every time I run it. ...
3
votes
1answer
121 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: ...
1
vote
1answer
68 views

Table of Dynamic Disks

I'm trying to create a dynamic interface to generate disks depending on 3 parameters : x-coordinate, y-coordinate and radius. The disks are generated as soon as the "export" button is pressed. I'm ...
1
vote
3answers
64 views

DynamicModule: Assign Initial Values to Variables as List of Strings

Working within DynamicModule, how can a list of strings as be used to assign initial values to variables? For example, what nested functions can be used as ...
2
votes
2answers
79 views

How can I get the ListPicker control under Manipulate to update on the fly?

It does update when I Show or Minimize the Suggestions Bar, but I would like it to update automatically. ...
0
votes
0answers
31 views

A trouble localizing variables with DynamicModule

I have created an application that simulates a random sample for the experiment of rolling a dice three times and recording the outputs as $(a,b,c)$. The code is the following ...
0
votes
0answers
17 views

How to show two (or more) plots, but only evaluate one in Manipulate? [duplicate]

I have a lot of spectral data in .csv format and I need to assign each spectral line to the respective sinusoid. The general idea was to load the dataset in Mathematica, ListPlot the data and then use ...
8
votes
1answer
521 views

LocatorPane and multiple EventHandlers, PassEventsDown option

Consider the following piece of code from Heike as an ( accepted ) answer on LocatorPane, selecting multiple Locators - Basically the code implements dragging polygons on a LocatorPane. ...
9
votes
1answer
168 views

Textual progress in console?

Is there any way to get a textual progress bar (e.g. like the progressbar module in a python repl) when working in console mode? Anything would be better than this:
0
votes
0answers
14 views

Flipping diagonals in a regular polygon

Say, I have a triangulation of an octagon: ...
1
vote
1answer
32 views

Extracting the output of FlipView and then updating

Say I have a triangulation of an octagon: ...
2
votes
2answers
70 views

Changing a diagonal inside a regular $n$-gon when clicked

I am trying to understand the use of Dynamic, DynamicModule, EventHandler, etc. I created an ...
2
votes
1answer
98 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...
3
votes
2answers
68 views

Too much space after Slider

In part of a dynamic module I have a slider and I wish to put the units after the value. So I have done this: ...
4
votes
1answer
227 views
2
votes
0answers
69 views

How to smoothly zoom into GeoGraphics without label flicker?

I would like to animate zooming into maps in a smooth fashion while showing labels - but without them flickering or jumping: ...
3
votes
1answer
56 views

Nested front-end-only EventHandler

Bug introduced in 11.3 or earlier, and persisting through 12.0 CASE:4372001 confirmed I am running into an issue trying to improve the performance of my user interface by moving as much of the ...
1
vote
1answer
64 views

Defining functions in a CDF and Manipulate [closed]

I want to deploy an interactive CDF that may depend on several functions. How do I define those functions? I'm using Manipulate, I defined the function inside it ...
5
votes
1answer
54 views

Creating a dynamic list of parameter defined functions

I'm trying to create a list of functions that is dynamic in size and defines function names like so: ...
8
votes
2answers
82 views

Avoid clipping label in IntervalSlider?

For custom appearances IntervalSlider seems to clip on the right side: ...
4
votes
2answers
71 views

Manipulate lists as function arguments

I am trying to write a Demonstration, which I believe means I must write it as a Manipulate, not a DynamicModule. My question is essentially the same as "Dynamic lists as function arguments", but I ...
0
votes
0answers
48 views

Undo dynamic input

Here is a simplified example of the problem. ...
1
vote
1answer
74 views

Dynamic Delimiter in Manipulate

Consider the following ...
1
vote
0answers
41 views

How do Mathematica processes DynamicBox? [closed]

I've heard that Mathematica uses a session ad hoc to process DynamicBox, but I don't know any detail. I am using DynamicBox in ...
1
vote
1answer
55 views

Representation in state-space of a system with ideal and real differentiating links in feedback

There are two systems in the state space with an ideal and a real differentiator. For the first system, the code in Mathematica is as follows. ...
0
votes
1answer
61 views

How to make the pressing of a button keep an event occurring at a controlled rate? [duplicate]

Suppose I use a Button[] to make some event occur, how can I make the pressing of this button keep that event occurring at a controlled rate? I tried the following: ...
0
votes
1answer
28 views

How to use buttons to add or subtract in real time?

I am trying to do the following: ...
3
votes
1answer
84 views

A button that creates a cell and evaluates it

Short version: PasteButton will paste its contents at the input cursor. I am looking to create a similar button that will paste something into a new cell and ...
0
votes
1answer
85 views

Using Dynamic with a list of variables

I am trying to generate a table of InputFields with a list of variables. I am generating the variable names on the fly as the lists I am dealing with have variable sizes. ...
1
vote
1answer
46 views

Manipulate expression giving error messages [closed]

I'm trying to debug this example code from a textbook: ...
7
votes
1answer
827 views

Poincaré map for dynamic billiard

There's a very nice demonstration of dynamic billiard written by Dan S. Reznik that can be found on demonstrations wolfram(along with the code): here I was thinking whether it would be possible to ...
0
votes
1answer
39 views

Solving a fifth order polynomial with changing values of coefficients [closed]

I have a fifth order polynomial in x whose coefficients depend on a certain variable k. Now, I want to find the real roots of that polynomial for each value of k, say from 0.1 to 2 in steps of 0.05 ...
1
vote
0answers
68 views

Phase portrait of n-dimensional state-space system

It is usually not difficult to study the state space for n = 2,3 variable states. What if these variables are more than 3, for example 4,5 or 6? There is a rule according to which the dynamic features ...
2
votes
1answer
100 views

How to interactively draw a bitmap with mouse?

I cannot find the MNIST dynamic activation example I strongly believe I have seen in the documentation. What would be the most efficient way to draw a black &...
0
votes
1answer
41 views

How to make Mathematica output updated Graphics inside Manipulate?

I have created a code to get information about countries. I created a tooltip to identify cities on a graphics but when I go through the popup menu and click another country, the code doesn't ...
0
votes
1answer
36 views

How to make Button print the last updated point?

I am trying to create a graphics that outputs the population of a city on the graphics that is clicked. The problem is that it is not updating the last point that is clicked. Please help. ...
0
votes
1answer
31 views

Drop doesn't work with Dynamic lists

So I have this code right here. ...
5
votes
3answers
185 views

Aligning Control in Manipulate

I'm trying to use Dynamic and If inside Manipulate to alternate controls depending on a ...
0
votes
1answer
124 views

How to make a point bounce off of walls?

Say we have a square and a point inside. How to make the point bounce off when it hits the walls. No gravity. EDIT: New here, should've been more specific. The point has to fly in some random ...
9
votes
1answer
320 views

How to dynamically select a country on a map using the cursor

Let's say I have a map of Europe with a locator in manipulate Manipulate[ GeoGraphics["Europe", GeoBackground -> "CountryBorders"], {{p, {150, 150}}, Locator}] ...

1
2 3 4 5
24