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
1
vote
3answers
46 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
23 views

Proper AspectRation and PlotRange options with Graphics[]

I have code: ...
4
votes
0answers
75 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
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 ...
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? ...
1
vote
1answer
42 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
20 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
24 views
0
votes
1answer
50 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 ...
3
votes
1answer
55 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
86 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
203 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
470 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
478 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
75 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
63 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
617 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
183 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
62 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
38 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
35 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
515 views

How to make the bar be a button?

This is a BarChart: ...
3
votes
3answers
112 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
74 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
95 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
287 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
42 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 <...
5
votes
0answers
63 views

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

I have a manipulate Manipulate[n, {n, 1, 100}], I want to put it in my Wordpress blog post. Should I CloudDeploy it as below ...
0
votes
0answers
22 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
56 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
82 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
209 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
97 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
221 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
370 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
86 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
70 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
73 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
88 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
337 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
64 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
110 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
124 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 ...
9
votes
0answers
119 views

How to suppress the escape window?

Cross posted here If we first enter an empty string (""), and then paste something within the quotation marks, the following dialog box will pop up: I recorded a ...
1
vote
1answer
154 views

How can I show the current ViewPoint, ViewAngle, ViewCenter, etc. while I am rotating interactively a 3D object? [duplicate]

I want to find the more looking view of my 3D object. But I want to do it interactively, and then fix that view as default. I want to show dynamically the values of ...
0
votes
0answers
90 views

Interactive model for the PageRank Vector

I'm trying to build an interactive model that will allow me to calculate the PageRank vector of small scale web graphs, however I need the model to also display the graph with the first five most ...
7
votes
3answers
465 views

How to Detect Special Key Presses in a Notebook?

We can use: SetOptions[EvaluationNotebook[], NotebookEventActions -> {{"KeyDown","s"} :> Print["triggered"]}] to make the current notebook respond to s ...
1
vote
1answer
139 views

Creating an Interactive Module that plots a graph and a highlighted vertex

For an assignment, I have to do the following: Build an interactive model with two controls, n and u, that generates a random ...