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
0
votes
1answer
44 views

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

Here is my code and it works well: ...
5
votes
2answers
78 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
32 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
37 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
72 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
55 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
28 views

Proper AspectRation and PlotRange options with Graphics[]

I have code: ...
5
votes
0answers
97 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
63 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
24 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
50 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
26 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 ...
0
votes
0answers
27 views
0
votes
1answer
66 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
61 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
95 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
214 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
479 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
486 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
88 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 ...
2
votes
2answers
69 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
624 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
192 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
63 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
39 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
36 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
519 views

How to make the bar be a button?

This is a BarChart: ...
3
votes
3answers
121 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
75 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
107 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
346 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
44 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
133 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
60 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
84 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
229 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
49 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
100 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 ...
11
votes
1answer
232 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
406 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, ...
0
votes
0answers
87 views

Manipulating an Image to see the effect of changing certain properties

I tried to create a Manipulate expression containing an image where I can adjust some values, color1, ...
1
vote
1answer
72 views

Plotting the results of a system of ODEs [closed]

Excuse the simplicity of the question, but I'm trying to plot two (quite) simple ODEs in Mathematica. I'd like them to be reasonably attractive plots, and to include a slider bar to modify the values ...
0
votes
0answers
74 views

Giving new input while program is running

This is a substantial edit of the initial question. Thanks to MikeLimaOscar I can narrow my problem to the use of Input. I want Mathematica to ask me for a value that I will give if I find a complex ...
1
vote
1answer
60 views

Interacting with the solution of an autonomous differential equation

I want to plot the solution of a differential equation in a widget which lets me select an initial point of space and let it evolve according to the equation using an slider. My code looks like this: ...
2
votes
1answer
91 views

Interactive angles

The following is nearly what I am after, but the angles don't behave quite as I'd like: ...
9
votes
1answer
348 views

Can we implement a Neural Network interactively?

Implementing a Neural Network manually need some code and need to make some connections between these components. Can we implementing a Neural Network interactively?If I want to make a net like ...
3
votes
1answer
67 views

Sharing kernel between interactive command line and notebook?

What I miss at times in Mathematica is an interactive prompt where I can type to see, e.g., the value of a variable, without having to go through the hassle of cleaning the notebook from cluttering ...
2
votes
1answer
117 views

Checkboxbar with maximum choices limitation [duplicate]

I am a novice to interactive interface with Dynamic and other stuff. So don't blame on me if I ask idiot questions. What I want is to set a checkbox and set a limitation for the maximal number that ...
1
vote
2answers
135 views

Manipulate the first value of a recursive function, redraw plot

I'm new to this, casually executing basic lines of code online in Wolfram Lab; and I have a question I couldn't figure myself. Example; I have a recursive function and its initial value ...