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
43 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 ...
3
votes
1answer
75 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
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 ...
4
votes
3answers
106 views

Want to manipulate and visualize differential equation of a falling object

I am trying to get ahead of my upcoming semester by visualizing a differential equation of a general ODE solution for falling objects with the given solution of $$m\frac{{dv}}{{dt}} = mg - \gamma v % ...
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? ...
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 ...
1
vote
2answers
190 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> ...
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 ...
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
35 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 ...
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}] ...
1
vote
1answer
147 views

Manipulate an integral with variable in limit of the solution of DDEs

I have the following problem: I solved DDEs with some parameters which have two solutions: r and s. Now, I need to calculate and ...
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: ...
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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
2answers
114 views

Manipulation Parameters with Conditions

I have a list, and length of this list can be changed sometimes. I want to define manipulation parameters inside "Manipulate" according to length of the list. For example: ...
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 ...
9
votes
2answers
983 views

Click in a vector plot to plot several solutions of a system of differential equations

I am aware of the Locator button and I am aware of the Equation Trekker package, but they are not what I want to use. Here is what I specifically want to know how to do, if possible. Consider the ...
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 ...
0
votes
1answer
53 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. ...
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: ...
0
votes
1answer
47 views

Using and Naming different sets of data in a manipulated chart/plot

I am trying to visualize advertisement data from amazon which is comprised of a dozen or so campaigns, each of which has three subgroups and each subgroup has its own performance data (metrics). ...
4
votes
2answers
148 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 $...
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 ...
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: ...
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. ...
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 ...
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 ...
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 ...
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 ...
6
votes
2answers
339 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
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: ...
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 ...
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 ...
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 ...
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 ...

1
2 3 4 5
37