Questions tagged [interactive]
Question relating user input, manual parameter manipulation, dynamic display of information and other interactive user interface.
155
questions
2
votes
1
answer
81
views
CoordinatesToolOptions -> CopiedValueFunction weirdness
It seems that a bug was introduced to the CopiedValueFunction option of CoordinatesToolOptions, where the function is applied to ...
1
vote
1
answer
83
views
How to make an interactive chessboard with movable pieces?
I want to make a chessboard with pieces and move those pieces with drag and drop using the mouse, is that possible?
2
votes
1
answer
82
views
List of parameters as argument for Manipulate
Let's say, that we have a list of parameters, that we want to use in manipulate, like so:
parameters={{a,0,5},{b,-1,5}};
Of corse you could manually copy and paste ...
0
votes
0
answers
28
views
Can GeoRegionValuePlot Tooltips work in the cloud?
Having some trouble getting Tooltip to work with GeoRegionValuePlot when published on the cloud.
I've gotten Tooltip to work on CloudDeploy with other plotting methods. But when it comes to Geo plots ...
2
votes
0
answers
61
views
Is it possible for IGGraphEditor to change the curvature of a straight edge by dragging and dropping?
Cross-posted at GitHub.
IGraphM 0.6 includes IGGraphEditor[], which allows manipulating small graphs interactively.
...
1
vote
0
answers
36
views
How to get DimensionReduce and FeatureSpacePlot to act consistently?
The documentation for FeatureSpacePlot does not appear to be consistent with it's behavior in 13.1
The documentation indicates you can wrap the inputs to ...
1
vote
0
answers
88
views
Real-time interactive simulation
I would like to know how to use mathematica to make a real-time physics simulation that can be interacted with using a cursor.
As an example, consider a classical magnetic dipole in a background field,...
0
votes
0
answers
47
views
Two interactive ListLinePlots
I need to build an interactive interface to visualize multiples plots at the same time.
Let's consider two lists:
...
0
votes
1
answer
62
views
Dynamic lines with plot as background
I am trying to generate two lines (with 2 points each) that are dynamically updated with a plot as background.
I have come quite far, but do not manage to add the plot as background.
...
6
votes
1
answer
153
views
How can I make the vertices of a tree graph clickable?
Would it be possible to make the vertices of a tree graph clickable, executing a function when clicked?
Specifically, I am using Mathematica / the Wolfram Language to prototype a modern, microtonal ...
3
votes
1
answer
130
views
Disable editing for graphics
I am creating an interactive graphics that plots points on the canvas, and allows the user to move around the points:
...
0
votes
0
answers
94
views
Possible Bug: Why does ListLinePlot3D not work with Dynamic here? [duplicate]
Why are the errors below thrown? They are very strange and seem to be incorrect.
Error 1
ListLinePlot3D[Map[Dynamic, {{1, 2}, {1, 3}}, {2}]]
Error 2
...
2
votes
1
answer
89
views
Activating part without resolving [[1]]
I'll try to make this question more clear in a little while. In the mean time, I'll ask directly the question which motivated it:
Latin Square from submatrix
Original Question
I want, for instance, ...
0
votes
0
answers
83
views
How were the graphs in the documentation directly entered?
So I was reading the documentation on the FindPostmanTour function and in several places I see graphs being directly shown without any obvious method by which they were constructed, leading me to ...
6
votes
2
answers
957
views
Making a Mathematica version of Wordle interactive
Just as a diversion, I'd like to create an interactive Mathematica version of Wordle. As a sketch I have the following:
...
1
vote
2
answers
83
views
How to create a Manipulate Object with an extra field that depends on what is selected in earlier fields?
I am interested in exploring the new MaterialShading function.
I have created a Manipulate object with two fields for making a Graphics3d object of ExampleData's built-in cases.
The first parameter ...
4
votes
1
answer
198
views
What's the correct action for pressing a key?
Consider the following code:
...
2
votes
1
answer
85
views
How to make an interactive solver function?
I am working on creating a function that takes in any physics equation as a string and converts it to an equation that I will then paste into an interactive interface as asked here: How to make an ...
1
vote
2
answers
160
views
How to make an interactive calculator for any mathematical relation? [closed]
I am wondering if there is a way to make a calculator for any relation that is interactive.
First, I choose a relation with some variables in it.
The user will input a value for all of the variables ...
3
votes
2
answers
138
views
How do you make two interactive sliders dependent on eachother?
I have this code.
Definition of q is:
...
0
votes
0
answers
75
views
How do I loop audio playback automatically?
(Many of the Audio* symbols and functionality are still mostly experimental, so I understand that not all the kinks might be worked out yet. Still, I'd like to try ...
0
votes
1
answer
110
views
Create an interactive list in a Wolfram notebook that choosing its items make a change in calculations
I have 3 variables. I want to create an interactive list of items in a Wolfram notebook that if I choose each item, functions that are written by myself change the value of the variables and ...
1
vote
0
answers
126
views
How to make this interface?
I was recently watching this video on the role of the Wolfram language on data science and engineering, and upon discussion of data manipulation, the following CDF was briefly shown (around 0:50 in ...
2
votes
2
answers
94
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
0
answers
59
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
1
answer
89
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
1
answer
72
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
1
answer
87
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
1
answer
75
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 ...
10
votes
4
answers
562
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
0
answers
144
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
1
answer
116
views
Use `Dynamic[]` to plot dynamically solve equation and dynamically display calculated value
Here is my code and it works well:
...
5
votes
2
answers
125
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
0
answers
61
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
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 ...
2
votes
1
answer
167
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
3
answers
105
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
1
answer
40
views
Proper AspectRation and PlotRange options with Graphics[]
I have code:
...
5
votes
0
answers
111
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
...
4
votes
1
answer
181
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
0
answers
32
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
1
answer
135
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
0
answers
42
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
1
answer
64
views
0
votes
1
answer
203
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
1
answer
90
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
1
answer
149
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
2
answers
333
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
3
answers
681
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
4
answers
522
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 ...