Skip to main content

Questions tagged [manipulate]

Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.

Filter by
Sorted by
Tagged with
1 vote
0 answers
30 views

Saving data from a Manipulate's current state using a FormObject control

I would like to save a large set of data that has been computed within a Manipulate. Here is a minimal example: ...
Craig Carter's user avatar
  • 4,625
2 votes
2 answers
65 views

HoldForm Error for Illustrating Coordinates

I am having trouble illustrating tupoint[c, b, a, d, t] in the right diagram. When using the tax unit slider, the red coordinate should be moving along the graph - illustrating the current tax vs. the ...
Tom's user avatar
  • 383
0 votes
1 answer
35 views

Manipulate a RegionPlot domain defined by a delayed expression [duplicate]

Consider the following input: temp := c Manipulate[RegionPlot[True, {a, 0, 1}, {b, 0, temp}], {c, 0, 1}] I expect to get a region plot with a manipulate slider ...
Ubiquitous's user avatar
0 votes
1 answer
41 views

Manipulate module to plot function with long list of parameters

I have a function with a long list of parameters, for example: ...
neko neko's user avatar
2 votes
1 answer
120 views

Visualization of Minimization Problem

I am trying to visualize the objective function (f1), the constraint (isoq), and the optimal solution. The optimal solution is at the tangency of both graphs. I can plot the constraint, but the ...
Tom's user avatar
  • 383
0 votes
0 answers
59 views

How to efficiently find the series of quasi-normal frequencies using FindRoot?

I want to use FindRoot reproducing the following result in the table 1 of the article "Scalar gravitational perturbations and quasinormal modes in the five-dimensional Schwarzschild black ...
amon xu's user avatar
  • 41
1 vote
1 answer
51 views

Controlling Manipulate using a mouse-over wheel scroll

Can I get Manipulateto allow me, once the plot appears, to hover my mouse over the plot and scroll my mouse wheel to vary the parameter $a$? Currently I need to ...
apg's user avatar
  • 2,195
0 votes
0 answers
27 views

Can a PopupMenu within a Manipulate command include submenus?

Although not new to Mathematica (started on v6.0), I have never tried to create a PopupMenu that has submenus from within a Manipulate command. The relatively new ActionMenu command with its submenu ...
James's user avatar
  • 1
0 votes
1 answer
57 views

Programmatically establishing controllers for Manipulate inside a module

I am trying to create a module that allows users to cycle lists to look for a pattern and need a way to programmatically establish the number of controllers depending on the number of lists being used....
Chris Kennedy's user avatar
2 votes
3 answers
140 views

Speed up Manipulate when including several static 3d plots in Show

I made a dynamic vector visualization ...
Alice Schwarze's user avatar
0 votes
1 answer
46 views

Syntax regarding Manipulate plot with multiple functions

I am facing the following issue; I have the solution of a ParametricNDSolveValue and would like to plot several solutions with varying parameter in the same Manipulate to see qualitative differences. ...
IronicOwl's user avatar
  • 115
0 votes
0 answers
42 views

Manipulate not showing despite Plot working fine

Heyhey I am trying to solve a differential equation for the time evolution of a probability distribution. It solves just fine using NDSolveValue and I am able to plot the solution for specific times, ...
IronicOwl's user avatar
  • 115
1 vote
0 answers
40 views

Avoiding ugly errors in Manipulate (and alike functions) on start up of Notebook [duplicate]

When there are Cells containing Manipulate this often leads to Errors in cells right at startup. Say I write willReceiveValue={1,2} in one cell and in another <...
Kvothe's user avatar
  • 4,591
1 vote
0 answers
44 views

How to get a single line title in a Manipulate box? [closed]

I'm having a text output issue with the following code: ...
Cham's user avatar
  • 4,103
1 vote
0 answers
75 views

Solving a system of differential equations, which depend on parameters, and visualizing the solution [closed]

Shortly put, I would like to solve a system consisting of two differential equations, which depend on 3 parameters $\lambda,\sigma 0, \sigma a$ (these are some constant numbers), then I would like to ...
ProphetX's user avatar
  • 111
2 votes
1 answer
159 views

Regarding the interactive operation of a four-bar linkage mechanism

I have a four-bar linkage mechanism, where when the left locator is moved, the right locator moves accordingly, and when the right locator is moved, the left locator moves accordingly. I have ...
miss's user avatar
  • 874
0 votes
0 answers
18 views

Predefine plot for manipulate [duplicate]

I have many messy plots that I want to plot in a grid. I'd like to keep things neat and tidy by redefining the plots elsewhere in the script. I also want to plot them inside a manipulate function and ...
NavStoke's user avatar
5 votes
1 answer
180 views

How to improve this atomic orbitals manipulate box output?

I made this Manipulate box to show the atomic orbitals in the $(x, z)$ plane: ...
Cham's user avatar
  • 4,103
2 votes
1 answer
103 views

Manipulate Plot with Find Root Parameter

I would like to plot the function G(r; x') as a function of r, but with parameter x'. x' is the solution to F(x';p) = 0 where p is a parameter I can control. Unfortunately F is messy and I must use ...
NavStoke's user avatar
1 vote
1 answer
73 views

How to include Manipulate in fitting?

I'm trying to fit three differential equations to two data sets, using the code developed by @Cesareo, as follows: ...
user avatar
3 votes
2 answers
69 views

Manipulate parameters with parameter ranges dependent on other parameters

I've reduced some of my code to the code here Manipulate[ (*output here here*) {j, 1, 40, 1}, {k, 1, Dynamic[j], 1}, ] The problem I'd like to fix is that if I set ...
Daniel's user avatar
  • 115
5 votes
1 answer
409 views

Rotation Slider Control

Mathematica seems to support no "rotation slider" Control which might be used, for instance, in setting an angular direction ($0 \leq \theta \leq 2 \pi$) on a plane. I couldn't find one in ...
David G. Stork's user avatar
1 vote
1 answer
155 views

How to rotate a 2-body system about various independent axes with body-fixed pivot points/rotation origins?

I am trying to simulate a jointed two-body system on Mathematica, consisting of these components: "Beam" and "Plate". I am constraining the system such that the beam is always ...
Richard Casey's user avatar
2 votes
1 answer
121 views

How to visualise a rotated cuboid as an output of its rotation matrix and original dimensions, using Graphics3D?

I'm new to Mathematica, and I'm trying to figure out how to visualise a rotated cuboid as an output of its rotation matrix and original dimensions using Graphics3D. ...
Richard Casey's user avatar
1 vote
1 answer
36 views

Interactive input of integer-coordinate 2D points

I'd like code to allow interactive input of a chain of 2D points, which are saved in some global variable. And in addition, I would like to constrain the coordinates to be integers. The code below is ...
Joseph O'Rourke's user avatar
3 votes
2 answers
133 views

Limiting sliders dynamically

My goal is to implement the three things below. (i) Number of white balls(w ) and red balls(r) are constrained to be 2 ~ 29. (ii)Total number(n) of balls is w+r and it shoud not exceed 30. (iii)...
Soon's user avatar
  • 648
1 vote
0 answers
37 views

Change specific elements of a list [closed]

I have currently looking to change specific elements of a list. I saw that you can apply a fonction to an element if you know it's position as shown in this question : Apply function to specific ...
Student_Number_249812341's user avatar
2 votes
1 answer
135 views

Speeding a Manipulate illustrating convolution

I'd like to illustrate the mathematical process of convolution ($f(x) \star g(x)$) with an interactive Manipulate, but the evaluation is far too slow for a class ...
David G. Stork's user avatar
1 vote
0 answers
44 views

Simplify argument of Logs

I have the following expression ...
BabaYaga's user avatar
  • 1,897
3 votes
1 answer
146 views

Extending an Animated Vector Flow from Two to Three Dimensions

I found some code for animating a two-dimensional vector flow on stackexchange. Unfortunately, I can't find the original post so I can't credit the author. I have modified the code for my purposes ...
B flat's user avatar
  • 5,585
3 votes
1 answer
98 views

Manipulate breaks when using the RegionFunction option?

For some reason, the code below breaks when using the regionfunction option with Manipulate. Am I missing something or is this a bug? ...
B flat's user avatar
  • 5,585
0 votes
1 answer
68 views

Pointwise convergence of Fourier series: partial sum animation not rendering plot

I'm new to Mathematica (13.3) and I'm attempting to demonstrate the pointwise convergence of the Fourier series for the square wave function f in particular, by showing via Animate/Manipulate that as ...
Pascal Tchakouté's user avatar
1 vote
1 answer
120 views

Make `Manipulate` work despite `Clear["Global`*"]`

What is the correct way to stop all my Manipulate cells from breaking every time I issue ClearAll["Global`*"] command? ...
Yaroslav Bulatov's user avatar
0 votes
1 answer
50 views

Using Manipulate On Parametric Plots

I was trying to animate a state space plot to change with respect to some sliders and here is what I have tried so far. Right now I am just getting a bunch of errors and I'm not sure how to fix fix it:...
Craftyleosteel's user avatar
7 votes
2 answers
108 views

How to most responsively manipulate time intervals in ParametricPlot?

I often met with the case where I want to show the past trajectory of a object. A way of demonstrating this is to plot the trajectory using ParametricPlot, and then ...
Wjx's user avatar
  • 9,630
0 votes
2 answers
89 views

Appending Random Number to Existing List

My goal is to append random number to list like below.The problem is whenever I try appending a random number, the previously created numbers are changed which I don't know why. How to add a random ...
Soon's user avatar
  • 648
0 votes
1 answer
100 views

How to make a 2D plot using Manipulate with slider bar?

In the data below, I solved a heat transfer equation which gave me the Temperature for a given position and time. I want to make a 2D plot as a function of Temperature and position with the ...
Mule's user avatar
  • 43
1 vote
2 answers
57 views

How to stop Manipulate with PolarPlot from resizing PolarAxes?

I'm having some difficulty figuring out why the following code resizes the polar axes once move the slider past a certain number. ...
B flat's user avatar
  • 5,585
0 votes
2 answers
86 views

Any idea why my Manipulate[ParametricPlot] isn't showing anything [duplicate]

[ As you can see on the attached screenshots I tried to make it work multiple times, but it shows nothing. Any idea?
Ákos Szegedi's user avatar
0 votes
0 answers
66 views

Manipulate doesn't work correctly

Suddenly, Manipulate has stopped working in a Notebook that until recently worked perfectly. I want to animate a plot of rotations of a cube. I define the rotation matrices ...
Antonio Gonzalez's user avatar
0 votes
1 answer
54 views

TrackingFunction does not work when more than one Locator in Manipulator

TrackingFunction example Manipulate[ Graphics[Circle[], PlotRange -> 2], {{pt, {0, 0}}, Locator, TrackingFunction -> (pt = #/Max[Norm[#], 1]; &)}] ...
eason's user avatar
  • 197
0 votes
1 answer
77 views

Plotting Using Nesting Manipulate

My goal is to plot the number of locatable points and their average point as fig2. The number of points is set by the slider and they are locatable. My code with nesting Manipulate is as shown below, ...
Soon's user avatar
  • 648
3 votes
1 answer
78 views

Locating points by selecting points

My goal is to locate points without using slide bars then average point is dynamically plotted. Could I select and locate a point directly without using the slider bar?(I could locate points using ...
Soon's user avatar
  • 648
2 votes
0 answers
36 views

TrackingFunction not working with LocatorPane in Manipulate

I want to use TrackingFunction with LocatorPane, but when LocatorPane is used, TrackingFunction does not work. ...
pmzhu's user avatar
  • 95
4 votes
1 answer
76 views

Manipulate with pre-assigned number of parameter

My goal is to draw dots whose positions can be adjusted. I could draw a fixed number of dots, say 2 and 5, like the code below. If the user sets the number of dots, how do I create dots and sliders ...
Soon's user avatar
  • 648
0 votes
0 answers
72 views

Manipulate through Graphics3D

Inspired in this answer. I am attempting to run a Manipulate through a 3d Graphic. This is the code that I am trying: ...
Weierstraß Ramirez's user avatar
7 votes
5 answers
710 views

How can I make Manipulate faster?

I'm happy with the result of the graph I made, but it runs very slowly. How can I make it lighter and faster? ...
Vaggelis Dr77's user avatar
1 vote
0 answers
76 views

Problem with the Manipulate command

I am trying to upload a notebook with the following code to my blog, but every time I upload it, the "manipulate" code does not give anything. Do I have to change anything? ...
Athanasios Paraskevopoulos's user avatar
2 votes
1 answer
43 views

Manipulate slider from predefined array

This is a minimal example of what I want to make work: ...
PepeToro's user avatar
  • 133
3 votes
2 answers
119 views

Correctly localize variables in Manipulate

I’m doing a little project for Wolfram Demonstration. When I create snapshots, i.e. paste several times Output cell of Manipulate, all of them updates simultaneously, if any control is changed. I ...
lesobrod's user avatar
  • 1,846

1
2 3 4 5
42