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
0
votes
0answers
33 views

Getting ParametricNDSolveValue::mxst:

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
28 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
38 views

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

I am trying to implement Fortune's Algorithm. Here is my code so far. ...
7
votes
4answers
200 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
34 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
61 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 ...
1
vote
1answer
54 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
55 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
28 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
97 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
137 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
28 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
56 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
32 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
12 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
45 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
70 views

How to clip several plots in a continuous way

This Code: ...
3
votes
2answers
325 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
88 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
28 views

Manipulate ListPlot and Sliders [closed]

I'm trying to Manipulate with a Slider a ListPlot. Here is the code: ...
4
votes
1answer
78 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
vote
1answer
43 views

How to show a line in a Manipulate plot?

I'm trying to display a Graphics line alongside my Manipulate plot but I can't seem to do it because the Graphics and the Plot do not show up together. Basically, I want to show this line ...
2
votes
1answer
269 views

How to illustrate the optimal solution with kinked constraint?

I have a simple optimization problem with a linear, continuous constraint or a kinked constraint. The optimal solution is either a tangent point with f*<T or at the kink with f*=T. The standard ...
1
vote
1answer
61 views

Manipulate works in Mathematica but not in Wolfram Player

This is most likely a very naive question, but I'm puzzled as to why the following code runs smoothly in Mathematica 12.1.1.0 but does not generate a working plot in Wolfram Player 12.1.1.0. ...
-2
votes
2answers
84 views

What are common pitfalls for newbies trying to use Plot? [closed]

I am new to Mathematica, and I have had extreme difficulty with Plot. Often, my plots simply don't appear. Here is my current code: I tried to avoid the common ...
1
vote
1answer
30 views

Intersection point for existing solution - avoiding error messages, message in diagram if no solution exists

I am trying to highlight the intersection if one exists. For specific parameter values there is no solution and the manipulate output creates error message and red background. How can I avoid the ...
1
vote
3answers
84 views
3
votes
2answers
227 views

System of equations does not solve with Solve

I am trying to find the solution in order to highlight the intersection point. ...
0
votes
1answer
39 views

Intersection point across two diagrams with manipulate: Problems with Coordinates

I am trying to highlight the intersection point (point, dashed lines) in the bottom diagram and the the corresponding point in the top diagram. Unfortunately, I am creating lots of error messages in ...
0
votes
1answer
59 views

Lists{vals,funs} and NDEigensystem are not the same shape?

Hi I'm trying to create a Manipulate[Plot[]] so that I can vary lambda in the below equation from 0 to 2 and see how it affects my plot. I'm getting stuck a couple steps before that though where I use ...
1
vote
0answers
54 views

Manipulate and Plot of Tangent Point in Optimization Problem with Kinked Constraint: Solve and PieceWise Problems

I'm trying to illustrate an optimization problem with a piecewise constraint creating a kink at the maximum value of T if n>0. ...
1
vote
2answers
68 views

Manipulate not showing the four curves I want to manipulate

I've tried to display four functions in a single plot without success and I don't know how I should change my code in order to see the function. Indeed when I run the command I just see the axises but ...
4
votes
2answers
59 views

ListPlot is not plotting functions from DSolve, brought by ReplaceAll(/.) command

I have the following simple differential equation ODE = DSolve[{x'[t] == 1, x[0] == 1}, x[t], t] and I'd like to visualize how the solution ...
1
vote
1answer
34 views

Manipulate giving errors when I plot the product of a step function and a continuous function

Riemann's prime counting function J (link) takes half-values at every jump-discontinuity. So, I define it thus: ...
1
vote
2answers
56 views

Manipulate and Plot of Tangent Point in Optimization Problem: Solve Problems

I want to illustrate how changes in the values of exogenous variables and parameters (T,w,[Alpha]) are changing the optimal values of two endogenous variables (f,c)=(f*,c*). The solution is with a ...
2
votes
1answer
120 views

Question about finding the area

Here is a link to my previous question Question about plotting a curve and tangent lines I want to know how can the area be found between the curve and tangent line for between Point Fun1 and Fun2....
2
votes
1answer
53 views

How to combine Manipulate and OutputResponse to manipulate a transfer function

The webpage on Manipulate provides an example on section Examples > Applications of how to manipulate two parameters (the initial conditions) of an Initial Value Problem (ODE with initial ...
13
votes
0answers
485 views

Mathematica runs on iPhone or iPad locally!

Try coding on iPad has fun, I downloaded the free app Wolfram Player in App Store and found it can interact with Wolfram notebooks ...
0
votes
1answer
46 views

FindMinimum with Manipulate

I have an expression for the energy of a given physical system and I need to plot its minimum with respect to one of the parameters while the others are allowed to vary. The expression is the ...
1
vote
1answer
56 views

Using Dynamic with PlotRange inside Manipulate

I am using Manipulate to plot a function that takes a fair amount of time to be plotted. Once it is done I would like to change the y-range where it is plotted. To avoid that the function is evaluated ...
0
votes
1answer
41 views

Manipulate DSolveValue

I have the following EDO: f'[t] == (1/V*a/T) - ((Lambda + Q/V)*f[t]) Taking into account that the variables V,a,T,Lambda and V are constant, I would like to make a ...
0
votes
1answer
41 views

Manipulating the plots obtained from NDSolve

I am trying to manipulate my parameters eNA, eNM, eMA, eMN, eAM, eAN in the following plot obtained from using NDSolve on my set of differential equations. But I can't find a way to do it. The ...
2
votes
2answers
61 views

Can Manipulate controls be generated programmatically based on a (non-manipulated) variable?

I would like to do something like this: ...
4
votes
2answers
171 views

How Do I fill the Area of a Polar Plot

Grandson and I are working on the Calculus of Polar Coordinates, specifically, finding the area enclosed by a polar plot. We can find the area; however, we cannot seem to find anything in the ...
0
votes
1answer
43 views

Creating chart labels of two different Manipulated data sets in BarChart

I want to add chart labels to different datasets that are chosen via manipulate. I have a hierarchical data set that I imported from excel and broke down into subgroups using nested associations. ...
0
votes
0answers
29 views

Problem with Initialization cell and Manipulate

The following minimum failing example illustrates a problem that I am having building an application to simulate projectile motion. In the notebook's initialization cell, I have the definition of a ...
0
votes
1answer
56 views

Marking the minimum point of a quadratic [duplicate]

Clear[a] Manipulate[ Plot[ a*x^2 + 2*x + a, {x, -40, 40}, PlotRange -> {-15, 15}], {a, -10, 10}] I want to mark the minimum value in this range with a blue ...

1
2 3 4 5
36