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
0 answers
92 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 ...
user avatar
2 votes
1 answer
83 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, ...
user avatar
  • 2,638
0 votes
0 answers
80 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 ...
user avatar
  • 187
6 votes
2 answers
834 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: ...
user avatar
  • 7,759
0 votes
0 answers
32 views

Pokemon ELO rating with wolframscript

I would like to implement a Pokemon ELO system that my friends that don't have Mathematica installed could use as well via Wolframscript. The application would work as follows: You run a script ./...
user avatar
  • 928
1 vote
2 answers
78 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 ...
user avatar
4 votes
1 answer
185 views

What's the correct action for pressing a key?

Consider the following code: ...
user avatar
2 votes
1 answer
74 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 ...
user avatar
1 vote
2 answers
98 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 ...
user avatar
3 votes
2 answers
79 views

How do you make two interactive sliders dependent on eachother?

I have this code. Definition of q is: ...
user avatar
0 votes
0 answers
39 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 ...
user avatar
  • 7,749
0 votes
0 answers
59 views

How to create an Interactive Solver using either Dynamic, Dynamic Module, Manipulate, Form Page, and Form Function?

I am working on creating interactive solvers for laws in physics where first select a variable to solve for such as displacement/length/position, density, mass, torque and electricity and then enter ...
user avatar
0 votes
1 answer
91 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 ...
user avatar
  • 340
1 vote
0 answers
95 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 ...
user avatar
  • 4,138
2 votes
2 answers
85 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: <...
user avatar
0 votes
0 answers
50 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 ...
user avatar
  • 103
0 votes
1 answer
81 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 ...
user avatar
2 votes
1 answer
64 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 ...
user avatar
3 votes
1 answer
79 views

Manipulate InteractiveTradingChart or lazy Manipulate

Back in 2012, it seems that something like Manipulate[InteractiveTradingChart[ticker], {ticker, {"AMZN", "GOOGL"}}] worked fine. Mathematica 12....
user avatar
1 vote
1 answer
67 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 ...
user avatar
  • 1,146
4 votes
3 answers
230 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 ...
user avatar
3 votes
0 answers
100 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 ...
user avatar
  • 7,749
0 votes
1 answer
102 views

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

Here is my code and it works well: ...
user avatar
  • 973
5 votes
2 answers
110 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/...
user avatar
  • 379
1 vote
0 answers
48 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 ...
user avatar
  • 121
4 votes
0 answers
56 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 ...
user avatar
  • 41
1 vote
1 answer
111 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. ...
user avatar
  • 425
1 vote
3 answers
78 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: ...
user avatar
  • 973
0 votes
1 answer
35 views

Proper AspectRation and PlotRange options with Graphics[]

I have code: ...
user avatar
  • 973
5 votes
0 answers
105 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 ...
user avatar
  • 21.7k
2 votes
0 answers
89 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 ...
user avatar
  • 4,138
0 votes
0 answers
30 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? ...
user avatar
2 votes
1 answer
120 views

Inactivate Controls within Manipulate

Given a certain Control object (checkbox, for example) within a Manipulate environment, my goal is to define another control ...
user avatar
  • 4,138
2 votes
0 answers
34 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 ...
user avatar
  • 30.3k
1 vote
1 answer
60 views

Two popup menus for geodistance?

...
user avatar
-1 votes
1 answer
164 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 ...
user avatar
4 votes
1 answer
85 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}] ...
user avatar
  • 4,974
1 vote
1 answer
124 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 ...
user avatar
  • 16.3k
6 votes
2 answers
275 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 ...
user avatar
  • 2,451
3 votes
3 answers
564 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 ...
user avatar
  • 1,029
9 votes
4 answers
507 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 ...
user avatar
  • 1,029
0 votes
2 answers
131 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 ...
user avatar
3 votes
2 answers
93 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 ...
user avatar
10 votes
2 answers
664 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 ...
user avatar
  • 676
6 votes
4 answers
239 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 ...
user avatar
  • 91
3 votes
1 answer
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 ...
user avatar
  • 77
1 vote
0 answers
46 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. ...
user avatar
  • 11
1 vote
1 answer
44 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, ...
user avatar
  • 2,379
8 votes
2 answers
536 views

How to make the bar be a button?

This is a BarChart: ...
user avatar
  • 23.1k
3 votes
3 answers
177 views

How can I make Graphics objects clickable?

I have created a list (listA) that specifies disks based on color, center point, and radius: ...
user avatar
  • 9,415