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
3 votes
1 answer
55 views

Highlight points in ArrayPlot in the same way that it happens to DensityHistrogram

I was wondering if there is any way to highlight the values in ArrayPlot in the same way that it is possible for DensityHistogram. Something along the lines of the plot below but in cases where I ...
elbOlita's user avatar
  • 1,639
3 votes
1 answer
184 views

How to create an interactive Poincare section from the given code?

Here we discussed Poincare section for perturbed string model taken from the paper Chaotic dynamics of a suspended string in a gravitational background with magnetic field. We try to reproduce some ...
codebpr's user avatar
  • 1,931
0 votes
0 answers
63 views

A geometric application of Benford's law [duplicate]

I would like some help solving the following problem using Mathematica: Show that, no matter what the initial area of an equilateral triangle is, the sequence of areas (painted in black) of the ...
Rubens Vilhena Fonseca's user avatar
2 votes
1 answer
86 views

CoordinatesToolOptions -> CopiedValueFunction weirdness

It seems that a bug was introduced to the CopiedValueFunction option of CoordinatesToolOptions, where the function is applied to ...
Chris K's user avatar
  • 20.1k
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?
Georgy's user avatar
  • 305
2 votes
1 answer
98 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 ...
GalZoidberg's user avatar
2 votes
0 answers
64 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. ...
licheng's user avatar
  • 2,019
1 vote
0 answers
38 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 ...
John's user avatar
  • 2,429
1 vote
0 answers
97 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,...
Diffycue's user avatar
  • 1,834
0 votes
0 answers
50 views

Two interactive ListLinePlots

I need to build an interactive interface to visualize multiples plots at the same time. Let's consider two lists: ...
Carolyn's user avatar
  • 21
0 votes
1 answer
69 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. ...
Niki's user avatar
  • 960
6 votes
1 answer
161 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 ...
Frank O'Neill's user avatar
3 votes
1 answer
152 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: ...
tush's user avatar
  • 375
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 ...
Just Some Old Man's user avatar
2 votes
1 answer
92 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, ...
Adam's user avatar
  • 3,937
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 ...
Michael's user avatar
  • 197
6 votes
2 answers
968 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: ...
martin's user avatar
  • 8,668
1 vote
2 answers
85 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 ...
Peter Burbery's user avatar
4 votes
1 answer
205 views

What's the correct action for pressing a key?

Consider the following code: ...
user3257842's user avatar
2 votes
1 answer
93 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 ...
Peter Burbery's user avatar
1 vote
2 answers
187 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 ...
Peter Burbery's user avatar
3 votes
2 answers
173 views

How do you make two interactive sliders dependent on eachother?

I have this code. Definition of q is: ...
Victor Nielsen's user avatar
0 votes
0 answers
104 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 ...
thorimur's user avatar
  • 9,010
0 votes
1 answer
115 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 ...
Alex97's user avatar
  • 390
1 vote
0 answers
137 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 ...
sam wolfe's user avatar
  • 4,553
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: <...
robertofbaycot's user avatar
0 votes
0 answers
60 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 ...
Ivan Pong's user avatar
  • 103
0 votes
1 answer
90 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 ...
user76860's user avatar
2 votes
1 answer
73 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 ...
Math Gaudium's user avatar
3 votes
1 answer
89 views

Manipulate InteractiveTradingChart or lazy Manipulate

Back in 2012, it seems that something like Manipulate[InteractiveTradingChart[ticker], {ticker, {"AMZN", "GOOGL"}}] worked fine. Mathematica 12....
Math Gaudium's user avatar
1 vote
1 answer
83 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 ...
Stephen's user avatar
  • 1,156
10 votes
4 answers
623 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 ...
infinitezero's user avatar
  • 1,409
4 votes
0 answers
157 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 ...
thorimur's user avatar
  • 9,010
0 votes
1 answer
143 views

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

Here is my code and it works well: ...
vasili111's user avatar
  • 1,215
5 votes
2 answers
130 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/...
Nitin's user avatar
  • 431
1 vote
0 answers
68 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 ...
pglpm's user avatar
  • 121
4 votes
0 answers
77 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 ...
Nicolas's user avatar
  • 41
2 votes
1 answer
204 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. ...
Binjiu's user avatar
  • 435
1 vote
3 answers
113 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: ...
vasili111's user avatar
  • 1,215
0 votes
1 answer
41 views

Proper AspectRation and PlotRange options with Graphics[]

I have code: ...
vasili111's user avatar
  • 1,215
5 votes
0 answers
114 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 ...
chris's user avatar
  • 22.8k
4 votes
1 answer
189 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 ...
sam wolfe's user avatar
  • 4,553
0 votes
0 answers
34 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? ...
Francis from ResponseBase's user avatar
2 votes
1 answer
141 views

Inactivate Controls within Manipulate

Given a certain Control object (checkbox, for example) within a Manipulate environment, my goal is to define another control ...
sam wolfe's user avatar
  • 4,553
2 votes
0 answers
46 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 ...
M.R.'s user avatar
  • 31.4k
1 vote
1 answer
65 views

Two popup menus for geodistance?

...
Mona's user avatar
  • 41
0 votes
1 answer
211 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 ...
Alexey Popkov's user avatar
4 votes
1 answer
93 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}] ...
Igor Rivin's user avatar
  • 5,084
1 vote
1 answer
151 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 ...
DavidC's user avatar
  • 16.7k
6 votes
2 answers
360 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 ...
imida k's user avatar
  • 3,935