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

Taylor series and expansion

I'm absolutely new to Mathematica. I have the function f(x,y)=x^2*sin(xy/2) I need the second-order Taylor series expansion around point (x,y) = (1, Pi), plot inclusive. How am I doing it?
0
votes
0answers
16 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
23 views
0
votes
0answers
22 views

Taylor series/expansion

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
1answer
48 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 ...
4
votes
3answers
149 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: ...
7
votes
2answers
345 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 ...
8
votes
3answers
339 views

Plotting triple data points while xy data are not regular

I plotted recently some figures in Matlab and their quality was not that satisfactory, so I come to Mathematica as my supervisor suggested. This is how such figure looks like in Matlab: . In Matlab, ...
1
vote
0answers
42 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 ...
1
vote
1answer
62 views

How to list plot data where the slope determines if it is plotted from a list of data?

I am trying to listplot data from a list of data where the slope of the curve determines if it is plotted. Example: Lets say the data measured is of the form x^2. I measure this data multiple times ...
4
votes
2answers
128 views
0
votes
0answers
20 views
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
63 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}}] }] ...
8
votes
1answer
281 views

What algorithm does Plot use to determine abscissas?

(I'm hoping this question is not hopelessly naive...) My understanding is that Plot's strategy is to generate a list of abscissas, evaluate the argument expression ...
7
votes
2answers
1k views

Controlling the 2D $x–y$ aspect ratio of a 3D plot

I have some data representing a nested list, each element being composed of 3 real numbers like ...
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
51 views

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

I try for this ... I want to see the result like this ...
6
votes
5answers
7k views

Calling Correct Function for Plotting DiracDelta

I am wondering what is the correct function in Mathematica to plot the true impulse function, better known as the DiracDelta[] function. When using this inside of a ...
11
votes
3answers
450 views

How can we plot the complex roots of an equation?

If we'd like to display the $n$ roots of a polynomial on the complex plane as points, how can we do this? For example, if we have the equation $x^3 + x^2 + x + 1$, how can we plot the 3 roots as ...
2
votes
2answers
75 views

Mathematica's ViewPoint versus MATLAB's View command

Here is a bit of code borrowed from Parametrize a circle as a tube?. ...
3
votes
1answer
76 views

Rotate a region about z-azis

I learned how to do this: ...
5
votes
3answers
95 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 ...
14
votes
2answers
488 views

How to connect discrete points and make them become continuous curve?

Given that I have two variables $\theta,t$, for the varible $t$, $\theta$ always owns several values. Namely, $$\{t,\theta_1,\theta_2,\theta_3,\theta_4...\}$$ where $t$ in the interval$[0,1]$ and ...
-4
votes
0answers
39 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
251 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: ...
0
votes
0answers
87 views

Plotting a numerical integration

I have the following code to calculate a numerical integral for any given a: ...
1
vote
2answers
182 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 ...
13
votes
2answers
198 views

Can Mathematica produce manipulatable WebGL 3D plots?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
3
votes
0answers
49 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, ...
0
votes
1answer
65 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 ...
0
votes
0answers
75 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
1answer
58 views

How I can make the StreamPlot of this differential equation?

I need the StreamPlot of this differential equation but I don't know how. dp/dt=0.4p(1 - p/30), 0 <= t < 5 and 0.4p(1 - p/30) - 0.25p, t > 5
9
votes
5answers
3k views

How to plot periodic function's graphic?

How to plot periodic function's graphic? For example, $f(t) = t$ when $-5<t<5$ and $f(t+10) = f(t)$. ...
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
2answers
68 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
86 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 ...
1
vote
1answer
41 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 ...
13
votes
4answers
692 views

How to make a Line[] with no end?

I'm trying to do this: In this graph, the secant points are aproximated in order to become the tangent, it seems I need some kind of function which plots a line based on two points and it's points ...
1
vote
2answers
79 views

VectorFieldPlot Assumptions - restricted domain

I would like to plot the 2-D vector field: VectorFieldPlot[{ x/Sqrt[x^2 + y^2], y/Sqrt[x^2 + y^2]}, {x, -5, 5}, {y, -5, 5} ] but I encounter zero division at ...
0
votes
1answer
59 views

How to shorten/simplify my plotting code

Is there a way to simplify and shorten my code? ...
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, ...
7
votes
4answers
680 views

How many times do the two given curves intersect at the origin?

I'm reading/studying on my own a book about algebraic curves. I'm trying to find a way for Mathematica help me with the following (the book, ISBN: 038731802X, allows me to use any CAS / program. ...
3
votes
0answers
90 views
2
votes
0answers
49 views
4
votes
1answer
84 views

Problems with TimelinePlot

I'm trying to play with the example in this recent blog post, but I'm having a few basic issues with TimelinePlot: Labels are getting cut off: How can I get ...
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 ...
2
votes
1answer
80 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 ...