Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
15,606
questions
-1
votes
1
answer
398
views
Callout: How to add to listplot?
I have the following code:
...
-1
votes
1
answer
1k
views
How to graph a helix that starts at the origin
So i have this graph
Show[
ParametricPlot3D[54 {Cos[t], Sin[t], t/10 + 12.5/54}, {t, -10, 10}],
Graphics3D[{Red, Sphere[{54, 0, 12.5}, Scaled[.015]]}]
]
Now ...
-1
votes
1
answer
103
views
Plotting in the same graph
I wrote a code which shows 4 different graphs. I want red lines of graphs to be plotted in one graph. Could anyone find the way? this is my code.
...
-1
votes
2
answers
556
views
Plot3D with points on plot
I have function
f[x_, y_] := x^3 + 3*x*y^2 + 12*x*y
and I used function
...
-1
votes
1
answer
84
views
How can I plot the graph based on time from TimeUsed?
Good day everyone,
Can anyone help me how to plot the result using time from computer. Here, I used timeUSed to generate the time;
...
-1
votes
1
answer
166
views
Why this code gives different output for differents runs
Edit
Here is my code to plot many constrained variables in (x,y) plan :
the variables are :
...
-1
votes
1
answer
126
views
Adjusting VoronoiMesh size
How it is possible to extend VoronoiMesh to the whole ListPlot in the following example?
...
-1
votes
1
answer
301
views
How to construct my own ColorFunction with the TemperatureMap range
I would like to draw the unit circle and define my own coloring function on it so that every point $e^{i\theta}$ of the unit circle will be colored according to said function from the range of colors ...
-1
votes
1
answer
123
views
How to graph the max and min values of a sheet?
Hi I just start working in Mathematica version 10.3.1 and I want to graph a sheet of data that I created in Excel (yeah i use Windows). The problem is i have so many data; 200 columns and 50 row of ...
-1
votes
1
answer
192
views
How to `Manipulate[]` Particles in a Box
so here is a set of data. set_of_particles_data
here is the code with return some error. it said cannot combine the Graphics. first i copy and paste the data and save it as data.txt.
how can i ...
-1
votes
1
answer
207
views
Error Bar plots, how to rid of error bar central line when using plotmarks [closed]
here is my code:
...
-1
votes
1
answer
116
views
BSFC diagram in Mathematica [closed]
I want to make BSFC (Brake specific fuel consumption) diagram using Mathematica. My data that I use looks like this:
...
-1
votes
1
answer
157
views
Syntax for plotting a CDF of experimental data
What is the syntax for plotting cumulative distribution function of the following collected data {0.1, 0.7, 0.1, 0.9, 0.3, 0.2}?
-1
votes
1
answer
172
views
3D plot in spherical cordinates [closed]
Y = 0.04 *sqrt (5/(16*pi))*(3*cos[Theta]^2 - 1) +
0.08*sqrt(6006/pi)/64*((1 - Cos[Theta]^2)^3)*Cos6[Phi]
Theta = [0, pi]; Phi = [-pi, pi]
Need to plot <...
-1
votes
1
answer
806
views
ParametricPlot3D won't show [closed]
I want to see the image of a tube made from a space curve. I define the surface using Frenet-Serret frame but the software does not show me the plot. What might be wrong with my code?
Thank you.
-1
votes
1
answer
113
views
Define a function and then integrate and plotting of the solved function [closed]
First I want to solve for $n_{0}$ for a fixed value of $n$, lets say $n=1$
$$ n= n_{0}+ \dfrac{1}{2}\int_{-1/2}^{1/2}dq\left(\dfrac{e_{q}+Un_{0}}{\hbar\omega}-1\right) $$
where $e_{q}=2[1-cos(2\pi q)...
-1
votes
1
answer
269
views
Third-order ODE with NDSolve [closed]
I would like to use NDSolve to draw the integral curve of a third-order ODE
...
-1
votes
1
answer
214
views
Plotting the results of a system of equations
I believe this is a question of more list manipulation than plotting, but I hope you could help me. I solve numerically a system of equations of 3 variables, take only real solutions where one of the ...
-1
votes
1
answer
286
views
ListLinePlot problem
OK, so here I got the solution of a numerically-solved PDE. I wish to plot in a graph, for a given time, the point x where the solution reaches 1/2. So here's the relevant string of code:
...
-1
votes
1
answer
4k
views
plotting the solutions of system of differential equations [duplicate]
The following code include the system of differential equations:
...
-1
votes
1
answer
63
views
Graph function step by step and paint
I am trying to graph the following function for $r_0 = 2.1 m$
$$ \begin{align*} \alpha(r_0) = \begin{cases} \pi - \arcsin (3
sqrt{3} \sqrt{1 - 2 m/r_0}/r_0), & \text{for } 2m < r_0 \leq 3m, \\
\...
-1
votes
0
answers
65
views
I need help please [duplicate]
Can Anyone help I did this to get the same graph but
...
-1
votes
1
answer
111
views
Plot a list of vectors matching pixels of an image
I'm currently working with optical flow and I'm struggling with displaying my results.
I possess vectors and was looking forward to plotting them matching their corresponding pixel in an image.
I've ...
-1
votes
1
answer
53
views
Show not displaying multiple ContourPlot3D's
I'm trying to make an image that looks like this:
I'm not sure if this is the best way to do it, but this is the relevant part of my code.
...
-1
votes
1
answer
112
views
Determining intersection point in mathematica plot
I plotted the function given in the figure with respect to "z" .I obtained different plots for different distinct values of "t".
Now please can you help how to obtain the ...
-1
votes
1
answer
67
views
Problems with plotting using NDSolveValue
I have solved, using NDSolveValue a PDE. I now want to create a plot of my function u[x,t] and evaluate this function at x = 1 and t = 1/4 and x = [Pi]/2, and t = 1/2.
Im not sure how to extract ...
-1
votes
1
answer
1k
views
Mathematica does not plot my expression
Mathematica does not plot the expression.
...
-1
votes
1
answer
2k
views
StreamPlot a differential equation [duplicate]
How do I StreamPlot the differential equation $\frac{dy}{dx} = \sin (y)$ in Mathematica. I get blank axes each time. I don't quite understand the documentation ...
-1
votes
1
answer
712
views
How to change plot range in plot function [closed]
I have a function $y=f(x)$ which I want to be shown in a domain $0<x<10$
and $6<y<10$. How could I do that? I can change the x domain in Plot function but I don't know how to change y-axis?...
-1
votes
1
answer
950
views
Exporting 3D-plot from Mathematica in any file format, and importing to plot with Matlab
I wish to know how I can export a 3D-plot from Mathematica in a file format (e.g. ".dat"), and import it later with Matlab to generate the plot therein.
In fact I have successfully achieved the ...
-1
votes
1
answer
332
views
Follow up: how to plot a function under NDSolve domain
Here is the details of the code to plot.
...
-1
votes
1
answer
498
views
-1
votes
1
answer
98
views
My code of plotting a two-variable function is too slow [closed]
I have a code in which my complicated function to be plotted is F(x,p). I would like to graph it for 5 values of p equal to 10^7, 10^8, 10^9, 10^10 and 10^11 for x values between 0.01 and 0.99. All ...
-2
votes
3
answers
273
views
Convert pseudocode into Wolfram Language [closed]
Pseudocode:
...
-2
votes
3
answers
79
views
How to rotate the curve [closed]
How can I rotate this curve
It's supposed to be like this
UPDATE:
I would like to show the "Blue" curve instead of the "Red" Curve. Even though I changed the equation in wolfram, ...
-2
votes
2
answers
478
views
Plotting a hypergeometric function
I am faced with the following expression
$$
-\frac{(1 - a x^{2})^{b/2}}{b} {{}_2F_1} (1, \frac{b}{2}; \frac{c}{2}; 1 - a x^{2}) = - p t
$$
where $ a, b, c, p $ are constant values. Also, $ {{}_2F_1} $ ...
-2
votes
2
answers
137
views
Question about plotting [closed]
I would like to duplicate this graph:
I've used this code to draw the circle:
Graphics[{Circle[{0, 0}, 3, {-2Pi, 2Pi}]},PointSize[.025]]
But Mathematica ...
-2
votes
2
answers
134
views
How do I create cobweb iterations or stair steps **WITH ARROWS** to show attractive and repulsive fixed points for a graph? [closed]
I'm new to Mathematica, so I would appreciate any help. How do I create cobweb iterations or stair steps WITH ARROWS to show attractive and repulsive fixed points for this graph?
I want it to look ...
-2
votes
2
answers
292
views
Plot certain variations of the Cantor set
In the post graph of the Cantor set in Mathematica, there are many nice plots of the Cantor set.
It is possible to use Mathematica to produce
the plot of a $360°$ rotation of the Cantor set around ...
-2
votes
2
answers
235
views
How could this image be reproduced with MMA?
It is assumed that this image was obtained by computer-graphics, any idea to reproduce it, as I show it, thank you very much in advance.
-2
votes
1
answer
347
views
Why does this ContourPlot3D give a faulty plot?
Why in Wolfram Development Platform does this:
ContourPlot3D[Abs[x^2 + y^2 + z^2 -1]==0.2, {x, -2, 2}, {y, -2, 2}, {z, -2, 2},PlotPoints->8]
give a faulty ...
-2
votes
2
answers
369
views
How can I plot a list of 1-D data along the x-axis?
I would like to know how to create a graph from the following data:
...
-2
votes
1
answer
289
views
monochromatic and mesh style of 3d plotting
how to adjust the mesh and monochromatic plot to be same as this
-2
votes
2
answers
683
views
How to plot relation in mathematica? [closed]
How to plot relation here?
I want to plot
-arctan(sin(x))*(x)+ arctan(sin(x))*(y)=sin[arctan(sin(x))*(y)+ arctan(sin(x))*(x)]
-2
votes
1
answer
120
views
How can I graphically represent a vector in as a circle? [closed]
I have an Array of multiple values which represent cars with their velocities. It looks something like this:
...
-2
votes
1
answer
122
views
How to connect 100 random points on a ring through the shortest path?
I would like to generate 100 random points on a ring and connect them through the shortest path. The appropriate ordering function is also needed.
It should look like this:
and then this:
Could ...
-2
votes
1
answer
393
views
What is wrong with my code? [closed]
What is wrong with my code below
...
-2
votes
2
answers
1k
views
Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries
Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
-2
votes
2
answers
246
views
plot data with small differences
I want to plot data with very small differences. I can't see the differences in my plot:
-2
votes
1
answer
117
views
Please help me how to label curves like this
Please tell me how to label curves like this: