Questions tagged [dynamic]

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

174 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
34 votes
0 answers
763 views

How to design CloudObjects with reasonable CloudCredit costs

Note: I originally thought to post this as a non-answer/extended comment to this question; however I feared that I would end up hijacking the original question. It is likely a duplicate with the ...
bobthechemist's user avatar
20 votes
0 answers
252 views

Inconsistent handling of Dynamic option values; intended, omission, or bug?

In answering Dynamic ClipPlanes calculated from current ViewPoint Kuba and I got into a brief exchange regarding how Option values wrapped in Dynamic should be ...
Mr.Wizard's user avatar
  • 270k
19 votes
0 answers
273 views

Current (e.g., ca. 2016 / MMa 10 / WP 4+) best practices for embedding interactive content in WordPress?

My strategy, in the past, has been to embed interactive CDF files into my WordPress blog for student's to use (Much like the Wolfram Demonstration Project). As many know 1) the 'Plug in' ...
flip's user avatar
  • 1,800
16 votes
0 answers
323 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 ...
kkm -still wary of SE promises's user avatar
13 votes
0 answers
783 views

Enable syntax highlighting and code completion in CDF player?

Try coding on iPad has fun, I downloaded the free app Wolfram Player in App Store and found it can interact with Wolfram notebooks ...
partida's user avatar
  • 6,776
10 votes
0 answers
118 views

Graph: PropertyValue changes and Dynamic

I almost never work with Graph in Mathematica but lately I helped someone with it. For this, I tried to make an animation using ...
halirutan's user avatar
  • 112k
9 votes
0 answers
106 views

Possible bug in Refresh[x, None] on the very first x = val

Bug introduced in 8 or earlier and persisting through 11.3 [CASE:3995912] From Refresh docs: Refresh[expr,None] ...
Kuba's user avatar
  • 136k
8 votes
0 answers
58 views

Thermometer Gauge with ScalingFunctions Broken?

Is this broken? The following generates an error: ThermometerGauge[Dynamic[t], {1, 100}, ScalingFunctions -> "Log10"]
Stephen Wandzura's user avatar
8 votes
0 answers
198 views

Remote kernels, Neural Networks and formatting of Dynamic content

Bug fixed in 11.2 I have a few GPU/CPU 'loaded' Linux boxes in my lab, used largely for rendering. I want to compare the new 11.1 Neural Network stuff to some Tensorflow things we do here. Of course, ...
flip's user avatar
  • 1,800
7 votes
0 answers
97 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 ...
Wjx's user avatar
  • 9,518
7 votes
0 answers
78 views

CheckboxBar doesn't work with TrackedSymbols

Bug introduced in 9.0 or earlier and fixed in 11.0.0 CheckboxBar doesn't work with TrackedSymbols and a custom callback ...
faysou's user avatar
  • 11k
6 votes
0 answers
160 views

How to monitor progress with external language code?

I'm trying to figure out how to get tqdm (a python progress monitoring tool) to work with ExternalEvaluate and "ExternalLanguage"...
M.R.'s user avatar
  • 31.2k
6 votes
0 answers
85 views

How to set SynchronousInitialization and SynchronousUpdating on DynamicGeoGraphics?

DynamicGeoGraphics has its underlying SynchronousInitialization and SynchronousUpdating ...
Edmund's user avatar
  • 41.7k
6 votes
0 answers
143 views

Bug: FrontEnd crash with Locator, Arrow and Dynamic

Bug introduced in 10.1 or earlier and fixed in Mathematica 11.3 [CASE:3731068] It does appear that Locator is not behaving properly and can seemingly crash Mathematica's Front-end, and I have ...
masterxilo's user avatar
  • 5,689
6 votes
0 answers
114 views

How to preview a list of images by sliding the mouse?

I'm trying to dynamically scrub over a list of images like in iphoto. Unfortunately, when the mouse moves from one side to the other, it's skipping frames which is confusing: When the mouse runs off ...
M.R.'s user avatar
  • 31.2k
6 votes
0 answers
110 views

Why is setting SynchronousUpdating -> True causes mouse motion to pause/freeze Dynamics?

When making a Manipulate, I noticed that setting SynchronousUpdating -> True have a very annoying side effect. By just moving the mouse anywhere on the same cell ...
Nasser's user avatar
  • 137k
6 votes
0 answers
345 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
unlikely's user avatar
  • 7,063
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
5 votes
0 answers
167 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 ...
Julian Moore's user avatar
  • 2,560
5 votes
0 answers
341 views

Code behind these Video Playback demos?

There are only two known examples of video playback (from a file) within a (non-cloud) notebook: Visualizations in Graph Theory with the Wolfram Language (at time 3:32) Mathematica and CUDA, SIGGRAPH ...
user5601's user avatar
  • 3,621
5 votes
0 answers
2k views

Dynamic Updating

My program runs for a while and then comes up with a notification telling"The Kernel is not responding to a dynamic evaluation. You may either choose to abort and restart the kernel or continue ...
Raj's user avatar
  • 95
5 votes
0 answers
169 views

GraphicsComplex dynamic colors

I have a fairly large GraphicsComplex (surface mesh with more than several thousand vertices) and I want to visualize a scalar function that is defined on the ...
Beginner's user avatar
  • 433
5 votes
0 answers
129 views

Dynamic evaluation of Histogram

Can someone explain the following behavior exhibited by a combination of SetDelayed, Dynamic and ...
Sascha's user avatar
  • 8,399
5 votes
0 answers
77 views

Controllers going out of sync after re-enabling dynamic updating (if external changes were made)

Bug reproduced in V10.4.1 and persisting through V11.0.1 A support case with the identification [CASE:3713364] was created [...] I was able to reproduce the issue, and consequently, I filed a report ...
Kuba's user avatar
  • 136k
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
4 votes
0 answers
128 views

DynamicModule Error when assigning Nothing to variable

Assigning Nothing to a variable inside Module works as expected: ...
Paul's user avatar
  • 41
4 votes
0 answers
75 views

GeoListPlot - How can I create edges between points on a GeoGraphic object by clicking on them?

I'm attempting to use Mathematica to manually create a graph from a set of GPS coordinates (vertices). This graph will define the paths an autonomous rover will travel along. Here's what I have so far ...
Nicolas's user avatar
  • 41
4 votes
0 answers
35 views

AutoAction not working with Locator and LocatorPane

This code is from the "Neat Examples" part on the LocatorPane page of the documentation: ...
player4321980's user avatar
4 votes
0 answers
147 views

Dynamic Clock Stops Ticking

I want a dynamic timer to tell me how long it has been since a file update. I have coded a simple timer for this, but an hour or two in after completing an update, the dynamic timer stops responding ...
user12572's user avatar
  • 436
4 votes
0 answers
65 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 ...
Anton.Sakovich's user avatar
4 votes
0 answers
52 views

Weird behavior of Dynamic + Rotate

Check the following six piece of code: ...
Wjx's user avatar
  • 9,518
4 votes
0 answers
96 views

Arrow @ Tube does not work with Dynamic coordinates

Bug introduced in V10.0 or earlier and persisting through V11.3 CASE:4063244 Arrow @ Tube @ {Dynamic @ pt1, pt2} does not seem to work. I'd expect the opposite ...
Kuba's user avatar
  • 136k
4 votes
0 answers
114 views

DynamicGeoGraphics misplaces dynamic Points

Bug introduced in 10.4 and persisting through 11.2 CASE:3971576 I need to highlight a selected point in a DynamicGeoGraphics. I use a ...
Edmund's user avatar
  • 41.7k
4 votes
0 answers
204 views

What is the best way to localize variables in a custom control

I am trying to build a custom control that is just a combination of a group of smaller controls that combine to give the final value, but with the final value only updating when the controls stop ...
lmnop1234's user avatar
4 votes
0 answers
113 views

Dynamic performance issues related to Pane's ResizeArea

Following AdvancedDynamicFunctionality / Front End Ownership of DynamicModule Variable Values we can use DynamicModule's variables to reduce the time spent on ...
Kuba's user avatar
  • 136k
4 votes
0 answers
90 views

InteractiveTradingChart not working inside Dynamic

I would like to have an interactive trading chart that updates by changing the input stock. But anytime a dynamic is wrapped around the function, it doesn't manage to initialize. Is there any way to ...
faysou's user avatar
  • 11k
4 votes
0 answers
310 views

Changing scroll range for mouse wheel

Is there a possibility to change the range for scrolling with the mouse wheel in Mathematica? In ScrollingOptions I couldn't find such an option. I played around ...
user3526475's user avatar
4 votes
0 answers
457 views

DynamicModule, SaveDefinitions and global functions

Unfortunately, I had not checked stackoverflow, because there, the exact same behavior was already reported. Please see the Q&A "SaveDefinitions considered dangerous". Up-front, I'm on ...
halirutan's user avatar
  • 112k
3 votes
1 answer
130 views

Dynamic TimelinePlot glitching out

Hi Dynamic Noob here :) I have written the following piece of code: ...
user13892's user avatar
  • 9,113
3 votes
0 answers
134 views

a "Calculate" button for Manipulate with Locator points

Looking for a methodology where the user can move the points of a Locator and then click a button to ask for calculations to proceed. The motivation for this is that the calculations of the full ...
user6546's user avatar
  • 1,027
3 votes
0 answers
152 views

What's the best way to dynamically update variables that aren't displayed on screen?

One property of Dynamic is that its result has to be displayed and manipulated onscreen for the dynamic updating to take place. What's the best way to dynamically ...
thorimur's user avatar
  • 8,960
3 votes
0 answers
84 views

Detect the current PerformanceGoal in EdgeShapeFunction, as a condition for using DynamicLocation

The use of DynamicLocation is described in answers to the following questions: DynamicLocation usage Framework behind Graph plots. DynamicNamespace and friends How ...
RRas's user avatar
  • 538
3 votes
0 answers
157 views

How to make C60 football model

I saw a beautiful C60 football model here. I want to reproduce this animation with MMA, but I don't know how to do it. Can you give me some help?
A little mouse on the pampas's user avatar
3 votes
0 answers
92 views

Simple neural network with feedbacks in state-space form

Having studied more or less in detail the mechanisms of working with the state-space that Mathematica provides us with, I asked myself: can these tools be applied to neural networks? This article ...
dtn's user avatar
  • 2,374
3 votes
0 answers
48 views

Mathematica Support for Simulating Kirigami Cuts

We can easily draw a grid like GraphPlot[GridGraph[{12, 12}], GraphLayout -> {"GridEmbedding", "Dimension" -> {12, 12}}] This gives us Does Mathematica ...
Moo's user avatar
  • 3,044
3 votes
0 answers
69 views

Large Dynamic expressions and responsive UI's

I have a ListLinePlot with 40,000 points. When it's displayed on-screen the input fields are not responsive (text appears slowly well after the user is done typing)....
Eric William Smith's user avatar
3 votes
0 answers
83 views

Dynamic and TrackedSymbols

Consider Column[{ Slider[Dynamic[x]], Dynamic[x;RandomReal[]], Dynamic[RandomReal[], TrackedSymbols:>{x}] }] I expected that both dynamics would update ...
Fred Simons's user avatar
  • 10.1k
3 votes
0 answers
50 views

Is it possible to prevent LocatorPane from modifying locator positions unless Alt ket is down?

I am using the LocatorAutoCreate option which allows the user to hold Alt while clicking in order to create/remove locators. However, I need to be able to prevent ...
user52941's user avatar
3 votes
0 answers
122 views

How can I monitor the process of neutral network training?

In the Linux command line,type wolfram then use NetTrain[net, mnist, Automatic, "LossEvolutionPlot"] can get the ...
partida's user avatar
  • 6,776
3 votes
0 answers
94 views

Understanding the difference between EvaluationNotebook and ButtonNotebook (and their FrontEnd` versions)

The Documentation for ButtonNotebook says: ButtonNotebook[] gives the notebook, if any, that contains the button which ...
Alexey Popkov's user avatar