Questions tagged [interactive]

Question relating user input, manual parameter manipulation, dynamic display of information and other interactive user interface.

Filter by
Sorted by
Tagged with
2
votes
2answers
81 views

How can generation of interactive color bar be speeded up

I have been experimenting with interactive color bars to supplement graphical information presented as a colored ribbon. Here is an example: First, generate some colours as red/green/blue triples: <...
0
votes
0answers
45 views

Interactive 3D Connect dots

I have some 2d slices of a 3d model - These are comprised of points and lines. I want to connect them using something like nearest neighbors, but some of the points in each 2D slice are too far apart ...
0
votes
0answers
23 views

Lock focus on cell / Identify reason for loss of focus

The code at the end of this post is a snake game. It's a Dynamic Graphics wrapped in an ...
0
votes
1answer
65 views

3D scatter plot combined with user-defined adjustable planes [closed]

I am trying to find some service/application/web-app or otherwise that allows for the following functionality: Plot points in 3d space. Insert plane in 3d space wherever I like. As in it must not be ...
2
votes
1answer
60 views

InteractiveTradingChart with date and time displayed for selected data

It is possible to modify TradingChart such that instead of just the date, date and time are displayed for a selected data point. Is there a "trick" that ...
3
votes
1answer
68 views

Manipulate InteractiveTradingChart or lazy Manipulate

Back in 2012, it seems that something like Manipulate[InteractiveTradingChart[ticker], {ticker, {"AMZN", "GOOGL"}}] worked fine. Mathematica 12....
1
vote
1answer
62 views

Hiding the result of a calculation in an interactive panel until all the inputs are entered

I created a partial fraction calculator using the Mathematica command Apart. The image below displays the value 1 before the numerator and/or denominator are entered. How can the code be fixed so that ...
1
vote
3answers
138 views

How to draw a Graph in Mathematica and obtain the adjacency list

Is it possible to interactively draw a Graph in Mathematica and obtain the adjacency list? Ideally, I'd like to be able to draw different styles of lines. By interactively, I mean to add nodes and ...
3
votes
0answers
77 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 ...
0
votes
1answer
84 views

Use `Dynamic[]` to plot dynamically solve equation and dynamically display calculated value

Here is my code and it works well: ...
5
votes
2answers
96 views

Adding interactive text

I have two text style cells as shown in the picture (second one is hidden). Is it possible to add an interactive button so that if someone clicks on that button/...
1
vote
0answers
42 views

Why the typing lag after interaction with a 3D plot? [closed]

[Mathematica 12.1 on Windows 10 64-bit. My Antialiasing Quality is set to No Antialiasing] Edit: the behaviour is actually more ...
4
votes
0answers
44 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 ...
1
vote
1answer
100 views

How to make a CDF?

I am using Mathematica 12 on Mac. I would like to export the following code to a CDF file. ...
1
vote
3answers
64 views

How to make `Manipulate[]` to show me the result of expression evaluation live (question updated!)?

I have code that works the way I need: ...
0
votes
1answer
33 views

Proper AspectRation and PlotRange options with Graphics[]

I have code: ...
5
votes
0answers
101 views

Visually identifying differences between two Mathematica functions

Context Let us assume we have two functions defined in Mathematica. I am interested in spotting the differences in the code for the two functions. Example ...
2
votes
0answers
77 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 ...
0
votes
0answers
27 views

Splitting a SetterBar to multiple lines, wrapping at a given page margin?

I have 4 SetterBars linked to the same variable, and representing 593 choices in four categories. How might I get a sensical output that wraps to window or screen or some arbitrary margin? ...
2
votes
1answer
86 views

Inactivate Controls within Manipulate

Given a certain Control object (checkbox, for example) within a Manipulate environment, my goal is to define another control ...
2
votes
0answers
29 views

How to use GestureHandler?

Gesture handlers would be really cool to have. There is a symbol called GestureHandler. It's eight years old (from v9) but intriguing to me, as I could never ever get it to work. Does anyone know ...
1
vote
1answer
57 views
0
votes
1answer
117 views

How to restore broken Automatic cell grouping behavior?

By default output cells are grouped with the input cell from which they are generated (note the nested cell brackets on the right): Sometimes it is desirable to group manually input cell with ...
4
votes
1answer
77 views

Controlling Manipulate in cloud deployment

Suppose I want to create a web app which duplicates (for simplicity), something like Manipulate[Plot[Sin[n x], {x, 0, Pi}], {n, 3, 10, 1}] ...
1
vote
1answer
115 views

How to get ListAnimate to click at each step?

It would be nice if, at each step in ListAnimate, there could be a clicking sound to draw attention to the new step. I hope to use the single click sound sample ...
6
votes
2answers
248 views

view is not fixed completely regardless of vewpoint

If I run code Graphics3D[Cuboid[], ViewPoint -> {1, 1, 1}] the output is After rotating (by mouse click and drag) the output in some direction, and run the ...
3
votes
3answers
516 views

How do you create draggable points inside a graphic image?

I want to create a simple line with two points that can be dragged (one at a time), as in image below: How can I do that without using sliders, but rather dragging the points themselves. I suspect ...
9
votes
4answers
497 views

How do you glue a text to a point?

I have a point {0,0} which I call A, and a point {2,1} which I call B. I want to make an image that looks like the one below. When I resize the image I want the text labels to follow the points, so ...
0
votes
2answers
123 views

How does one use option CellGroupingRules?

It seems that Manual Cell Grouping is broken in 12.0.0.0 (at least in Linux). If one pastes a cell, then any cell bracketing gets "chopped" at the paste position. This bug affects a large project of ...
3
votes
2answers
82 views

Tooltips hidden/inactivated by SphericalPlot3D

Any way to get points obscured by SphericalPlot3D to show their Tooltip? In the below example, Tooltips will appear when cursor moves over little spheres that are not obscured by the plot, but will ...
10
votes
2answers
649 views

Distance measures on a map of a game

I have an image which my DM made of map for a DND game and I want to do two things. Click on two points on my map, then based on the key for scaling have Mathematica tell me how far apart those ...
6
votes
4answers
224 views

Dynamic Linkage of LocatorPane and InputField

How do I get the InputField to coordinate with the LocatorPane so that a change in each control changes the other to be in agreement? It would be nice if the function was self-contained and was ...
3
votes
1answer
69 views

How to force ListPlot to print the new curve while keeping the old one

I would like to create a graph using ListPlot which prints new dataset every time the button is evaluated (based on the value given in ...
1
vote
0answers
41 views

How to visualize and interactively correct time series data [closed]

I am looking for an efficient method to visualize measured time series data with about 100.000 data points per year, such that eye-catching data points may interactively be tagged as suspicious, e.g. ...
1
vote
1answer
42 views

How to create a notebook dialog that can receive contents dynamically?

When coding in notebook, I'm trying to show result(s) in a Single Notbook Dialog by this, ...
8
votes
2answers
531 views

How to make the bar be a button?

This is a BarChart: ...
3
votes
3answers
153 views

How can I make Graphics objects clickable?

I have created a list (listA) that specifies disks based on color, center point, and radius: ...
5
votes
1answer
80 views

Control plot details when expanding the figure by hand

Mathematica 11.3 So when I use PlotLabels -> "Expressions" and expand the plot by dragging the corner, the expression goes beyond the plot frame. MWE: ...
5
votes
2answers
152 views

Strange behavior of Print, Do, and merged output cells

The command Do[Print[i], {i, 1, 3}] does what you expect: creates 3 output lines of 1, 2 and ...
4
votes
2answers
478 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 (...
0
votes
1answer
59 views

Interactive plot labels

This question was inspired by this answer. Consider we have set of data: data = RandomReal[1, {10, 5}] Command which allows to plot arbitrary the columns is <...
9
votes
1answer
166 views

Is it possible to embed the Manipulate into a WordPress post?

I have a Manipulate object: Manipulate[n, {n, 1, 100}]. I want to put it in my WordPress blog post. Should I ...
0
votes
0answers
24 views

Selectable Epilog in a plot [duplicate]

Can I make an inset graphic added through the Plot option "Epilog" selectable, so that I can fine tune its position in the plot by hand, or is this not possible? If its not does any one have any ...
2
votes
1answer
69 views

Receiving visual notifications even when Mathematica is minimized?

How to receive visual notifications on screen during long computation even when Mathematica is minimized? Question is similar to this: How to make the Mathematica icon flash in the taskbar?. ...
1
vote
1answer
89 views

Interactive Manipulators acting badly

How do I fix the bad behavior of Manipulator? This is in regards to this Interdependent controls in Manipulate question. Heike' s code does not work right on the first click when specifying the ...
5
votes
2answers
263 views

How to create 2d trajectory by moving mouse over plot

When I move with the mouse over a plot with a given plot range I would like to store the coordinates of the corresponding trajectory in a list and plot it. I have seen that ...
1
vote
0answers
50 views

Frictional spin effect for 3D graphics? [duplicate]

Even though most functionalities on the Wolfram Player, Wolfram Cloud, and Cloud Notebooks are broken and unusable, there is however one nice thing: momentum dissipation, this is an 'accelerated slow ...
1
vote
0answers
105 views

Lock cursor position to mouse

I would like to lock the cursor position, i.e. the insertion point, to the current position of the mouse at all times in a given notebook. An experiment with J/Link approximates this, by repeatedly ...
12
votes
1answer
284 views

Highlight line in plot

I have a plot with many functions. Some of the functions overlap. In Maple, when you plot functions with legends, you can just click on the legend and it highlights the corresponding line. Does ...
1
vote
2answers
472 views

Making an animation of the motion of a particle

I am new here. I just installed Mathematica and am learning the basics. I need to solve three equations of the motion of a particle using Do, ...