Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

learn more… | top users | synonyms (5)

0
votes
0answers
6 views

Does DynamicModule cure Problem with Manipulate?

Hopefully, this is a final cure for the Problem with Manipulate introduced on A problem with Manipulate and then continued on Continuation of a Problem with Manipulate. Michael E2 suggested on the ...
0
votes
2answers
32 views

Plotting a Forced Vibration Differential Equation

I'm attempting to plot a differential equation solution but mathematica is giving me trouble. The plot is showing up blank. Here is what I have. ...
0
votes
0answers
21 views
0
votes
0answers
34 views

How can I monitor the progress of a Plot?

This answer is not useful in my case: How to monitor the progress of a plot I am using ...
0
votes
1answer
56 views

Plotting ListLinePlots together creating a 3D view

I have a *.xlsx file containing four columns, each pair representing an x and y value, so ...
0
votes
0answers
41 views

Plotting function $f(t)=\sum _{N=1}^{\infty } \frac{e^{-N^2 t}}{N^2}$ [on hold]

A function is defined as: $$f(t)=\sum _{N=1}^{\infty } \frac{e^{-N^2 t}}{N^2}$$ I wanted to plot its graph (it should be a nice contiguous function for $t\ge 0$) I hoped that Mathematica will find ...
2
votes
1answer
70 views

Axis alignment identical to matlab plots

Mathematica uses in my opinion a weird concept of camera alignment. I would like to align the axes in Mathematica in the same way how Matlab does. For example, in the following picture you see a ...
1
vote
1answer
47 views
3
votes
3answers
61 views

How can I customize the tooltips on a ContourPlot?

I have a contour plot and I would like to have finer control over the tooltips that are displayed. For the sake of argument, suppose that I have the following plot, ...
7
votes
1answer
106 views

How can I make Plot show the plot while it's computing it?

Normally, Plot acts like a black box and only gives you the requested plot once it has finished computing it. However it can be useful, other than interesting, to ...
0
votes
1answer
53 views

Graphing a function with specified input domains

My goal is to plot the function $f(x)=x^2-2$ where $x$ is a positive rational. It seems Mathematica assumes one always wants to plot a function for real inputs (and correspondent restrictions on the ...
0
votes
1answer
64 views

Taylor series/expansion [on hold]

I want to make a second-order Taylor series expansion around point (x,y) = (1, Pi) of the function f(x,y)=x^2*Sin(xy/2) Plot inclusive
2
votes
2answers
80 views

A problem with Manipulate

I have: ...
5
votes
3answers
264 views

How to find max difference with the same x between two functions?

For example, I have function TF[y_] = 2 / Pi * ArcSin[y] And I have CDF: ...
1
vote
0answers
57 views

Manipulate - 3 sliders for a list of 3 elements

I'm trying to create a slider for a list of 3 elements. I know that I can create a 2D slider for a list of 2 elements and it's impossible to create a 3D slider for a list of 3 elements. So, I just ...
2
votes
1answer
52 views

How to hide and show graphics within Show[] function (in Manipulate wrapper)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
3
votes
1answer
78 views
0
votes
0answers
21 views

GraphicsRow - vertical axis ratio [on hold]

I have following code: ...
2
votes
1answer
50 views

Forcing a locator button to remain on the surface of a sphere

This question may or may not be possible and might be a hard one to answer. Suppose that I have a sphere centered at the point (1,2,-1) with radius 3. Is it possible to place a locator button on the ...
1
vote
1answer
65 views

Changing from Dashed to Solid

I have: Graphics[{ Blue, Thick, Arrow[{{0, 0}, f1}], Arrow[{{0, 0}, f2}], Red, Arrow[{{0, 0}, f1 + f2}], Dashed, Blue, Line[{{-9, 0}, {12, 0}}] }] ...
1
vote
2answers
77 views

Why doesn't Plot draw function within prescribed range?

I have a function: TheoreticalFunction[x_] = 2 / Pi * ArcSin[x] And trying to plot its derivative: ...
0
votes
0answers
40 views

Issue with combining plots using Show [on hold]

I need to combine two plots, but I can't seem to find a proper way! I tried Show, but I just get an error Show::gcomb: Could not combine the graphics objects. ...
0
votes
1answer
54 views

How can I plot the complex formula as follow? [on hold]

I try for this ... I want to see the result like this ...
3
votes
1answer
82 views

Rotate a region about z-azis [duplicate]

I learned how to do this: ...
2
votes
2answers
78 views

Mathematica's ViewPoint versus MATLAB's View command

Here is a bit of code borrowed from Parametrize a circle as a tube?. ...
4
votes
2answers
130 views

Parametrize a circle as a tube?

I have this code: ...
-4
votes
0answers
40 views

problem with this assignment, can you help? [on hold]

Give approximative values on the all the roots to the equation x = 3sinx. Place the the answers in-growing order
5
votes
3answers
102 views

Encapsulated plot function misbehaves

To insure a collection of plots has identical appearance, the plot command is encapsulated in a function. The results are undesirable. The fiducial plot is ...
1
vote
2answers
195 views

Plotting a Hill function [on hold]

I've Just recently gotten this program and cant plot this function, F(X)=1/(1+(X/K)^n) for X=0 to 4 nmol/m^3, K=1 nmol/m^3, F(X)= 0 to 1, and n=1,2,4,8,16 Now I know how to specify the limits and ...
5
votes
3answers
255 views

Generate a list of equations of curves and plot them

I want to plot a series of lines. This is how I did it: ...
3
votes
0answers
50 views

Fitting data to plot using errors as weights

I have some enzyme kinetics data that I want to fit to the Michaelis-Menten curve in order to obtain the kinetic parameters of the enzyme. Is it meaningful, statistically and functionally speaking, ...
2
votes
4answers
117 views

ListPlot and filling between curves

I have a simple question. Why is Filling not working in the following? ...
0
votes
1answer
70 views

Scaling vectors in an animated vector field [duplicate]

I want to animate a VectorPlot3D. But, Mathematica rescales the vectors in every frame. Can you scale them all to one fix point? For example, scale the vectors on ...
1
vote
1answer
42 views

When plot a list, how to Manipulate a sequence of defined functions at the same time?

I am trying to plot a sequence of functions, for example{(a+b)^i},{i,1,100}. All the expressions I have stored in the list. Now I want to plot them and see how their value would change if I change ...
0
votes
1answer
59 views

How to shorten/simplify my plotting code

Is there a way to simplify and shorten my code? ...
0
votes
0answers
87 views

Plotting a numerical integration

I have the following code to calculate a numerical integral for any given a: ...
2
votes
1answer
47 views

Problem with plotting data (.csv)

I have a problem with plotting the data of a recent experiment. I'm quite new to Mathematica, but searched the documentation and forums without solving my issue. My data is stored in a .csv document, ...
0
votes
0answers
78 views

Finding the numerical solution to a polynomial of a high degree [on hold]

I would like to numerically solve the following equation for ρ and use the obtained values of ρ to calculate the values of VR ...
0
votes
2answers
71 views

Plot ParametricNDSolve

I am trying to plot the probability of a molecule being in a certain state via the numerical solution of the Schrödinger's equation of molecule in an oscillating electric field (in a rotating system). ...
1
vote
1answer
87 views

Equation solution using minimization

I have an equation F[x,y]=0. I need to plot y as a function of x. Due to the properties of ...
2
votes
1answer
81 views

How to make a 3D plot using polar coordinates?

From the beginning: I have function $u(r)$ and radial symmetry in system. Also I've got results as data array ${u_i(r_i)}$. And I want to plot it as $u(x,y)$. Due to radial symmetry its gonna be like ...
1
vote
1answer
60 views

Plot x and y ErrorBars from file

If I have a set of data like this one saved in a txt file ...
0
votes
1answer
35 views

Plotting partial sums of Taylor Function

I need to plot the partial function: $T_f(x)=\log 2+\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{2^kk}(x-2)^k$ for $n=2$,$n=4$ and $n=6$ on the same plot over the interval $[-\frac{1}{2},4]$ and also the ...
4
votes
2answers
341 views

Simple Monte Carlo simulation

I want to find the Monte Carlo simulation of the integral $$\int_0^1 \sqrt{1-x^2}\mathrm dx$$ The Cesàro mean is $$I_n=\frac1n\sum_{k=1}^{n} f(U_k) $$ I want to plot the scatter plot ...
1
vote
1answer
48 views

Plotting datasets using ErrorListPlot

I am trying to make list plots with the ErrorListPlot function. I have two datasets (ds1 and ds2) of which one plots nicely (ds1) and the other just give blank plots. I cannot see any difference in ...
0
votes
0answers
46 views

Extracting points from highly oscillatory data [closed]

I got an implicit function , say f(x,y)=0, and I drew a contour plot of it as shown below(the points of interest (POI) are inside the red circles): Now, I want ...
1
vote
3answers
72 views

Combine 2 plots in one [closed]

$f: R^2 -> R,$ $f(x,y)=x²-y²$ ...
1
vote
3answers
211 views

How to plot an implicit function; how to plot contours of a surface

How can I plot the circle $(x-4)^2 +(y-4)^2 = 4$ and two level curves of $f(x,y)=x^3 + y^3 - 3xy$ on Mathematica. I have tried using the ContourPlot command. Can ...
2
votes
1answer
32 views

Query about Exclusions

I guess this has already be answered. Plot[1/(x^3 - 2 x^2), {x, -2, 4}, Exclusions -> True] Plot[1/(x^3 - 2 x^2), {x, -2, 4}, Exclusions -> 2] I cannot ...
1
vote
2answers
78 views

Plotting the solution of a cubic equation against a coefficient in the equation

I have to plot the solution of the following equation against the coefficient $L$. Since it's a cubic equation, I'd like to filter out the real solution first and plot that then. The equation is $L ...