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
2
votes
3answers
64 views

Manipulate lists without curly braces

I'm trying to use Manipulate to specify a list of numbers on the user side, say {50,60,70,80,90,95,99}, but I don't want the curly braces to need to be in the text entry box. i.e. ...
0
votes
0answers
56 views

Plot a function with specific list of values and use manipulate

I have the following function: T[r_, theta_] := Cos[theta*\[Pi]/180]*r^2 which I would like to evaluate using predefined values of r from a function which I define ...
2
votes
1answer
42 views

How do I make my slider invisible if I have an AnimationRunning?

So this is something very similar to my code ...
0
votes
1answer
23 views

Manipulate parametters inside NSolve with complex variable

I think my question should be simple but I couldn't figure out a nice way to do it. I want to find zeros of a complex function (variable $z$) with real parameters ($\nu$, $\alpha$, $\xi$). My goal is ...
0
votes
1answer
53 views

Creating a Tracker for a Wolfram Demonstration

I am using a Wolfram demonstration that shows Newton’s Second Law: https://demonstrations.wolfram.com/TwoMassesOnInclinedPlaneWithPulley/ I am not too familiar with creating animations and I was ...
3
votes
1answer
52 views
+50

Optimizing some code for WolframCloud deployment/publishing

I am working on creating a demonstration and came across an instance where my code works fine on my machine locally but breaks down when deployed to the cloud (so that it can be publicly accessed). I ...
3
votes
1answer
35 views

Performance - Plot with Calloutmarker ->“Arrow” and ImageSize->Full

This is a little esoteric, but I noticed that using CalloutMarker -> "Arrow" on a Plot that uses ...
1
vote
3answers
66 views

Obtaining Pixel Values, from an image, while being able to zoom

I've built a small manipulate widget to extract a pixel value from an image whereever the mouse is clicked: ...
0
votes
1answer
46 views

Density Plotting and Manipulate

I have here a code. I have the density plot of a function with the parameters. May I ask about correcting some errors. (This is a Gaussian Function) The parameters ...
0
votes
0answers
71 views

Stop plotting after a certain point

I'm plotting a function, which is the result of solving a set of coupled differential equations. I am using the Manipulate function to allow the variation of 3 ...
2
votes
1answer
81 views

Manipulating GeoPlots Effectively

I've built a small interface for project because it's been a bit disorienting for me and others to quickly change the range on the plots. Eventually we'll tie different features of the data to colors ...
2
votes
0answers
55 views

Can you calculate the area of region that is plotted with NSolve or FindRoot?

I plotted a pretty complex region in the xy plane (code given below). Basically, one of the inequalities is really complex and needs to be numerically approximated. In my code I do this with FindRoot. ...
0
votes
0answers
43 views

RegionPlot Not Plotting Correctly

Im plotting a region in RegionPlot and it gives me an output but it does not look like it is plotting correctly. This may be an issue with my syntax but I'm not seeing where the error could be. For ...
0
votes
1answer
93 views

Interactive Machine Learning App to make Predictions using Descriptors

I have developed a Machine Learning algorithm that uses 4 chemical descriptors to calculate a chosen chemical property. I would like to create an interactive app on Mathematica (using the manipulate ...
15
votes
5answers
909 views

How to create a spiral using Golden Triangles

Working with students in a pre-calculus class, an application of the sine law. They are working on a question that has them create a Golden Triangle (A golden triangle is an isosceles triangle in ...
2
votes
1answer
41 views

Multiple dispatch and plotting [duplicate]

This should be simple enough, but I cannot figure out where the logical error is, I am generating two Gaussian pulses and plotting them with some manipulatable elements. Here is what that a pulse ...
0
votes
1answer
28 views

N inside Manipulate: evaluating and showing roots of quartic in real time

Consider the parameterized quartic ...
0
votes
0answers
16 views

How to stop fractions from simplifying, when inside a Manipulate[] [duplicate]

I want to stop this fraction from simplifying inside a Manipulate[] ...
0
votes
1answer
76 views

Plotting horizontal line on Manipulate Plot [closed]

I have the following code, which outputs a Manipulate style plot. I want to draw a horizontal line on the plot related to q, ...
1
vote
0answers
26 views

Manipulate Error [closed]

I have the following code, which allows me to compile specific Manipulate plots on a separate plot. Unfortunately, I have a small syntax error which I can't seem to ...
0
votes
2answers
64 views

Add function to Manipulate

I have a Manipulate plot and want to add another function, in addition to the existing a and ...
1
vote
1answer
45 views

ParametricNDSolve Value and Manipulate with 3 parameters

I am trying to solve a set of coupled differential equations, using ParametricNDSolveValue, where there are 3 parameters. The parameters are ...
1
vote
1answer
37 views

Fix dynamic color overlap (manipulate/animate)

I am making a Manipulate graphic that involves two points rotating on a circle with their trajectories being traced in two separate colors. Everything works fine until each point makes half a rotation,...
4
votes
2answers
90 views

Inefficient Manipulate code with plots and integrals

I did this manipulation piece based on Boltzmann distribution but I noticed that is rather slow, any ideas how to improve this code? ...
3
votes
2answers
62 views
1
vote
1answer
77 views

Want to vary the parameters of system of differential equations in a Manipulate

I have a system of differential equations. I want to vary all the parameters, but the code shown below doesn't work for me. Could someone help me? I'm barely learning. This is my code: ...
1
vote
0answers
43 views

Getting ParametricNDSolveValue::mxst: [closed]

I'm trying to create a manipulatable SIR model with variable infection rate in Mathematica. To (very roughly) imitate the effect of government policies, I want the infection rate to be a certain ...
1
vote
1answer
34 views

Manipulating ScalingFunctions for several Plots inside Table is working, but not working inside ParallelTable

I've encountered a problem I can't make sense of: I'm combining the ListPlot of a HPLC chromatogram (called bgcorrected in this case) with a ...
0
votes
0answers
41 views

Fortune's Algorithm (Conditional Step Size in `Manipulate`)

I am trying to implement Fortune's Algorithm. Here is my code so far. ...
8
votes
4answers
216 views

How to partition a square into successive halves

I am teaching the idea of infinite geometric series to high school students, looking for hints to create the diagram below using Mathematica. (I don't need the labels). I can do it manually, but ...
2
votes
1answer
36 views

Passing an expression to the Plot Function does not Work

Solving a differential equation I found that its solution was analytic, and I stored it as an expression from the default rule output of the DSolve[] function: <...
1
vote
1answer
66 views

Accommodating local variables within Dynamic

I would like to use a local variable within Dynamic, but that may not work, and the front end will show the local variable in red to give a warning. However, if I ...
2
votes
1answer
59 views

How to use Dynamic with ArrayPlot or similar inside Manipulate?

I have some complicated data to calculate and display. I want to change the display inside Manipulate with a control variable and use ...
3
votes
1answer
60 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
0answers
30 views

Manipulate works OK on desktop, but not in cloud

I have a problem with following Manipulate. In desktop Mathematica everything is okay but when I evaluate this code in cloud and publish the output cell, it flickers and both the values and chart aren'...
5
votes
1answer
99 views

How can I get intersection points of two adjustable curves dynamically?

I need to show the intersection points of any two lines and dynamically adjust the lines to get new intersection points, what is the easiest way? ...
0
votes
0answers
32 views

“Encounter nonnumerical numbers at t==0” when using NDsolve

The codes goes like this: ...
4
votes
2answers
146 views

How to get rid of Manipulate frame?

Does anyone know how to get rid of the grey box in Manipulate plots? I find that they look clunky and would look much cleaner without the box, but I am very new to the software so I don't know how I ...
1
vote
1answer
29 views

Columned text not showing up in Manipulate plot variable label

I can't figure out why my columned text in the variables of my Manipulate plot are not showing up. In the labels for the variables, I set columns but only the top set of text is showing up. For ...
3
votes
2answers
60 views

How to separate the performance of controls in Manipulate?

I would like to build a Manipulate object, for which some variables will be related to corresponding controls. For example, in this simple Manipulate object, if I change any slider control, both ...
2
votes
1answer
39 views

Manipulate and DynamicImage

I would like to use DynamicImage within Manipulate, but have been unable to get the contents of DynamicImage to update. This basic example demonstrated the problem: ...
1
vote
0answers
13 views

Different behaviour between local notebook and Cloud deployed Manipulate function

I've been happy with my development in the Wolfram Language but haven't played with deploying manipulatable content before. I've written a rather basic Manipulate ...
2
votes
1answer
47 views

How to restrict a locator to a line that changes based on manipulated variables?

I am trying to have a locator move along a manipulated line but every time I manipulate the variables the locator doesn't move across the new line. How can I get the locator to move across the line ...
2
votes
1answer
47 views

Shaky Point[] objects in simple animation

I'm making a simple animation of wave motion. Each point is supposed to be moving exactly along a circle, and for some reason the purple & orange points seem to shake as they rotate about their ...
1
vote
1answer
47 views

How do I initialise a compound expression in Animate? Or, how do I have an expression evaluate on startup?

I have written a notebook with a few functions I defined. These functions describe a way of generating graphs using 2 inputs. e.g. graph[n_,s_] := Graph[...] I have ...
2
votes
1answer
73 views

How to clip several plots in a continuous way

This Code: ...
3
votes
2answers
328 views

How to extract a picture from Manipulate, without frame, sliders and axes?

I would like to extract some pictures from a Manipulate that uses a slider, but when I do it from the pop-up menu, I get all the frame and slider with it. How can ...
0
votes
0answers
90 views

Optimal resolution of a wave equation

I'm not very familiar with numerical resolution of partial derivatives equations in Mathematica, and I would like to optimize the following code. It's about a self-interacting wave propagating in 2D, ...
1
vote
1answer
30 views

Manipulate ListPlot and Sliders [closed]

I'm trying to Manipulate with a Slider a ListPlot. Here is the code: ...
4
votes
1answer
81 views

Manipulate VTK vertex fields

I have a VTK file that contains several vertex fields, and I'd like to manipulate the view. The objective is to show/hide all vertices whose field match a certain function. For instance, if I have a ...

1
2 3 4 5
36