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
3 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 ...
0
votes
0answers
28 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 ...
2
votes
1answer
39 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
52 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 ...
0
votes
1answer
22 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 ...
6
votes
2answers
333 views

Hide a Manipulate slider conditionally

I want to hide over's control if len is higher than 15. ControlType -> None isn't doing what I want. Why? ...
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
64 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: ...
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 ...
0
votes
1answer
45 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 ...
15
votes
5answers
906 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 ...
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
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 ...
13
votes
0answers
630 views

Enable syntax highlighting and code completion in CDF player?

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
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 ...
2
votes
1answer
40 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
63 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,...
2
votes
1answer
70 views

How to resize slider(control-field) inside Manipulate

In a very simple example Manipulate[Plot[Sin[a x], {x, 0, Pi}], {{a, 1}, 0, 5, Appearance -> "Labeled"},ControlPlacement -> Left] I would like to resize ...
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? ...
2
votes
1answer
50 views

How to make value of HorizontalGauge be continuously updated in Manipulate?

I wrote the following code: Manipulate[HorizontalGauge[Dynamic[x], {0, range}], {range, 5, 10}] I want to plot a HorizontalGauge...
5
votes
1answer
51 views

Why can't HorizontalGauge be directly added to the control part of Manipulate[]?

I try to use HorizontalGauge in Manipulate as follows: ...
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: ...
9
votes
2answers
329 views

Dynamically getting the complex number in a color wheel via moving mouse?

I have a color wheel domain which is used to describe complex numbers. I want to know is it possible to add a black spot which can be moved by mouse dynamically and return the complex number values of ...
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 ...
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 ...
0
votes
0answers
41 views
3
votes
1answer
52 views

Reset sliders to default (zero) when a PopupMenu item is selected

I am setting up a UI with sliders that are enabled or disabled according to the item in a PopupMenu. I have been trying to figure out how to reset the sliders to ...
2
votes
1answer
270 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 ...
7
votes
2answers
349 views

Can individual locators in LocatorPane be temporarily disabled?

This follows up on another question about the sensitivity of Locators in a a LocatorPane. I would like to be able to enable/disable individual locators in a LocatorPane. In the simplified version of ...
5
votes
2answers
305 views

Layers of Locators of Different Colors?

I am a Mathematica novice trying to do some interactive segmentation of microscopy images. I've been trying to understand and build upon some code from a previous StackExchange discussion (Can ...
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
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 ...
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
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 ...
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'...
1
vote
2answers
180 views

Import files from a directory choose via Manipulate

I thought I write a super-simple program to import all (Excel)files from a directory a user can choose> ...
2
votes
3answers
556 views

How to generate new random numbers in a Manipulate only on demand?

I was playing with a Manipulateto visually compare calculating the mean of Normal and Cauchy random data. ...
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? ...

1
2 3 4 5
36