Questions tagged [dynamic]

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

125 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
32
votes
0answers
649 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 ...
23
votes
0answers
824 views

How can I trace a functional expression's evaluation visually?

Ok, so the goal is to visualize the execution of this expression foo /@ {3 + 1, bar /@ {1 + 2, {4 + 7}}} in the following fashion using nested rectangles with ...
20
votes
0answers
205 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 ...
16
votes
0answers
232 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' ...
14
votes
0answers
238 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 ...
9
votes
0answers
95 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] ...
9
votes
0answers
113 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 ...
8
votes
0answers
49 views

Thermometer Gauge with ScalingFunctions Broken?

Is this broken? The following generates an error: ThermometerGauge[Dynamic[t], {1, 100}, ScalingFunctions -> "Log10"]
8
votes
0answers
167 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, ...
7
votes
0answers
73 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 ...
6
votes
0answers
77 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. ...
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 ...
6
votes
0answers
132 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 ...
6
votes
0answers
110 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 ...
6
votes
0answers
93 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 ...
6
votes
0answers
294 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. ...
6
votes
0answers
300 views

Resources for Sound Synthesis & Design

Are there any resources for sound synthesis using Mathematica? This page, Mathematica: Audio Synthesis Software, refers to other software packages, e.g. Max/MSP and Csound, for real-time synthesis. ...
5
votes
0answers
38 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"...
5
votes
0answers
100 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 ...
5
votes
0answers
304 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 ...
5
votes
0answers
1k 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 ...
5
votes
0answers
124 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 ...
5
votes
0answers
106 views

Dynamic evaluation of Histogram

Can someone explain the following behavior exhibited by a combination of SetDelayed, Dynamic and ...
5
votes
0answers
69 views

How to set SynchronousInitialization and SynchronousUpdating on DynamicGeoGraphics?

DynamicGeoGraphics has its underlying SynchronousInitialization and SynchronousUpdating ...
5
votes
0answers
72 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 ...
4
votes
0answers
93 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 ...
4
votes
0answers
46 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 ...
4
votes
0answers
43 views

Weird behavior of Dynamic + Rotate

Check the following six piece of code: ...
4
votes
0answers
87 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 ...
4
votes
0answers
94 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 ...
4
votes
0answers
158 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 ...
4
votes
0answers
107 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 ...
4
votes
0answers
80 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 ...
4
votes
0answers
398 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 Ubuntu 12....
3
votes
0answers
33 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 ...
3
votes
0answers
24 views

AutoAction not working with Locator and LocatorPane

This code is from the "Neat Examples" part on the LocatorPane page of the documentation: ...
3
votes
0answers
39 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 ...
3
votes
0answers
60 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)....
3
votes
0answers
56 views

Dynamic and TrackedSymbols

Consider Column[{ Slider[Dynamic[x]], Dynamic[x;RandomReal[]], Dynamic[RandomReal[], TrackedSymbols:>{x}] }] I expected that both dynamics would update ...
3
votes
1answer
128 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: ...
3
votes
0answers
42 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 ...
3
votes
0answers
108 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 ...
3
votes
0answers
69 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 ...
3
votes
0answers
146 views

Coupled parabolic differential equations with time delay

Is it possible for NDSolve to solve delay partial differential equations with simple Neumann boundary conditions? An example I have is as below: ...
3
votes
0answers
97 views

Memory management in Dynamic

Here is some example code for an image viewing aspect of a notebook I'm working on. I was hoping that the return value of LoadPage[] would be garbage collected when ...
3
votes
0answers
165 views

Bug with PlotLegends->Placed in GraphicsRow

Bug introduced in 11.0 and persisting through 11.1 The FrontEnd of Mathematica 11.1.0 on my Windows 7 box runs permanently at 100% CPU when I execute the following command: ...
3
votes
0answers
64 views

Applying a stylesheet to a notebook using a setterbar - palette hiccup

I built a setterbar that allows me to quickly apply stylesheets to a notebook. Here is the code: ...
3
votes
0answers
134 views

High CPU load for dynamic classification

I encountered some issues with extremely high CPU load when I tried to classify live images (using Dynamic and CurrentImage[]). ...
3
votes
0answers
112 views

Preventing the content of a CDF report from being overwritten when multiple reports are open at once

Our Mathematica application obtains a group of input files, analyzes them and generates a report in a form of CDF document. The report contains multiple dynamic/interactive graphs and tables. To save ...
3
votes
0answers
90 views

Ubuntu: Dynamics are not working after suspending system

I'm working on Ubuntu 14.04 LTS 64-bit and I'm running Mathematica 10.1. Usually, I don't turn my computer completely off but I'm using the Suspend function which is AFAIK a suspend to RAM. After ...