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
44 views

How to convert Symbol to Number?

Question I have a variable x which is associated with the number 1 : x= 1 In the program, I faced with the data type problem ...
2
votes
2answers
69 views

Generalized Cassini oval and Manipulate

I've created a visualization of Generalized Cassini oval using Manipulate with two options: random and regular. The former generates pseudorandom points in a plane, whereas the latter generates points ...
0
votes
0answers
17 views

CDF Strange difference of line Plot display when switching from stylesheet “Normal” to “Journal Article” with “Manipulate”

A LinePlot graphic with Manipulate works well in the CDF Player if i Use the stylesheet "Normal" but is rendered quite differently when I use the stylesheet "Journal Article". Here ...
3
votes
1answer
76 views

How to Create Lissajous Figures for Driven Damped Pendulum (as an animation/with Manipulate)

I wanted to know how can I generate a Lissajous plot for the forced driven pendulums (but for one pendulum in my case): (https://demonstrations.wolfram.com/ForcedPendulumsWithDamping/). I tried using ...
0
votes
1answer
26 views

Manipulate formula and several value on the Plot

I want to show the numerical results of (universal) gravitation. However, how to give the value in the control bar? ...
1
vote
1answer
38 views

Simple code of Manipulation not working [closed]

Consider the following simple code: Manipulate[Graphics[Point[{First[phi], Last[phi]}]], {phi, {0, 0}, {2 Pi, 2 Pi}}] The expected behavior is to follow the ...
2
votes
2answers
93 views

Using Manipulate with two dimensional inputs

I want to have a matrix (say a 2x3 matrix) as an input of the Manipulate function, where each entry takes a binary value (say, "+" or "-"). The ...
0
votes
0answers
43 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 ...
1
vote
2answers
60 views

Why can't I manipulate a whole set of code?

I'm trying to make a graph change based on k I used Manipulate on the whole code but it just gives a lot of errors ...
0
votes
1answer
41 views

It would be possible to visualize the value of the integral together with the graph (in the same Manipulate command)

f[x_, y_] := x - 3 y Manipulate[RegionPlot[ 0 <= x <= a && 0 <= y <= b (1 - (x/a)), {x, 0, a + 2}, {y, 0, b + 2}], {a, 1, 20, 1}, {b, 1, 20, 1}] ...
0
votes
1answer
22 views

Create a table of plots in manipulate with redundant variables

I'm trying to create a table of diagrams of which each shows a different variable on the x axis and fetches the remaining parameters from the enclosing scope, a Manipulate object. So I have this code ...
0
votes
1answer
24 views

Using Manipulate with a Bessel function for specific levels N of the sum

I try to plot an interactive plot where one can select the levels of N (noted nf) for a Bessel function: ...
1
vote
1answer
28 views

Creating a rule-based list of lists using Manipulate[…]

Given a list of lists: list = {{x1, x2, x3}, {y1, y2, y3}, {z1, z2, z3}}; Some self-explanatory lists which I like to create using ...
0
votes
1answer
34 views

2D Slider does not move in Manipulate [closed]

Consider the following simple code: Manipulate[Graphics[Point[{pt[[2]], -pt[[1]]}]], {pt, {0, 1}, {0, 1}}] The purpose of this code is to show (y,-x) if the slider ...
1
vote
2answers
101 views

How to create a table tracking successively changing values of controls in Manipulate[…]

Consider the following code that generates the desired output for a single vector of parameters (i.e., values of the controls). My purpose is to generate a set of ...
4
votes
2answers
174 views

Slider changes Pi to a MachinePrecision number

Problem Consider the following code: DynamicModule[{a = {0, Pi}, b = 4}, {Slider[Dynamic@b, {a}], Dynamic@b} ] I want a Slider...
1
vote
0answers
32 views

How to get a smoother color blending on a 3D sphere showing the spherical harmonics?

Here's a manipulate code to show the spherical harmonics mapped on an unit sphere: ...
0
votes
0answers
33 views

How to get rid of the white margins in picture export?

I made a manipulate box to show some spherical harmonics decomposition, and everything is working great (but it's very slow, when I add more harmonics!). Then I need to export the picture, without ...
2
votes
1answer
25 views

Manipulate with two coherent values

I want to have a Manipulate where the user can adjust two sliders with two values which are coherent depending on which value he actually knows. Look at this ...
0
votes
1answer
35 views

Manipulate and Initialization with functions and some variables

I am trying to do a manipulate with a function that depends on several variables, some of which are also functions. I can't get it to work. I have tried including an "Initialization" but it ...
1
vote
1answer
68 views

How to Add Vertical Line and Intersection in Manipulate-Plot-Row Diagram

I would like to represent i) the K^s value as a vertical line in the right diagram and ii) identify the intersection of the vertical line with the downward-sloping curve with "E" (as well as ...
4
votes
3answers
81 views

AnimationRepetitions in Manipulate

Is there any way to stop an animation in Manipulate once it gets to the end? I assumed AnimationRepetitions would work like in ListAnimate, but it still loops for me. For Comparison: ...
1
vote
1answer
65 views

Manipulate mapping on lists

For some function f, consider the following expression: ...
4
votes
2answers
149 views

Plot a curve in 2D [closed]

I have a curve $\gamma=(f(x),g(x))$ parameterized by a real parameter $x > 1$ (one can perform a variable change $y = x^{-1} \in (0, 1)$ if $x\rightarrow\infty$ is problematic), with the functions $...
2
votes
1answer
50 views

How to Have Smaller Intervals in TimeSeries

I have a wolfram demonstration project with the following code: ...
2
votes
1answer
39 views

How to Show Velocity and Time Measurements in Manipulate (Wolfram Demonstrations)

I am working with a Wolfram Demonstration that uses the Manipulate function (which I am not yet familiar with). The code is ...
1
vote
0answers
49 views

Plotting from matrix element

I am struggling with a function creating a manipulate of a plot, where the input functions are in form of matrix element. First I define the matrix: ...
12
votes
2answers
209 views

Manipulate for playing along with “Deal or No Deal?”

I started building this Manipulate and am certain I can do so on my own, but thought it was fun enough that others might want to try. (If this is some abuse of the ...
1
vote
1answer
26 views

Mathematica Manipulate[] for plotting a function of several variables

This is a sample snippet from Mathematica documentation for plotting Bessel for various n: ...
2
votes
3answers
79 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
61 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
51 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 ...
1
vote
1answer
61 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 ...
4
votes
1answer
69 views

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
40 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
76 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
60 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 ...
3
votes
1answer
91 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
57 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
44 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
102 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
955 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
47 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
33 views

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

Consider the parameterized quartic ...
0
votes
0answers
17 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
81 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
65 views

Add function to Manipulate

I have a Manipulate plot and want to add another function, in addition to the existing a and ...

1
2 3 4 5
37