Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

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

-1
votes
1answer
145 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
1answer
272 views

How to change the 3D Mesh resolution?

I need to fix the resolution of the mesh lines drawn on some surfaces, and currently I don't know how. Here's a MWE to work with (a simple sphere) : ...
-1
votes
1answer
125 views
-1
votes
1answer
102 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
1answer
81 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
1answer
151 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
1answer
419 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
1answer
102 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
1answer
190 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
1answer
295 views

Plot CPU time vs iteration? [duplicate]

I would like to generate a plot of CPU time vs number of iterations. For example, if I were to calculate the solution of a system of differential equations in state-space form using the summation of e^...
-1
votes
1answer
204 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
1answer
256 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
1answer
142 views

Solve equation: Exponent is out of bounds for function PolynomialGCD

I am trying to solve the equation below but it returns this error :Exponent is out of bounds for function PolynomialGCD". I would be gratuful if you someone help to solve this equation. ...
-1
votes
1answer
333 views

Mathematica does not plot my expression

Mathematica does not plot the expression. ...
-1
votes
1answer
438 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
1answer
161 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
1answer
428 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
1answer
326 views

Follow up: how to plot a function under NDSolve domain

Here is the details of the code to plot. ...
-1
votes
1answer
464 views
-1
votes
1answer
96 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
2answers
204 views

How to cut legs of 'pants' cobordism?

How do I have to change math expression or imaging intervals in order to cut 'legs' by sagittal secant planes I marked with red? ...
-2
votes
2answers
134 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
2answers
169 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
1answer
205 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
2answers
183 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
3answers
557 views

Zooming a portion of a plot [duplicate]

I want to zoom/exaggerate a portion of the following plot for t between 1 and 2, such that ...
-2
votes
2answers
146 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
1answer
81 views

What is wrong with my code? [closed]

What is wrong with my code below ...
-2
votes
2answers
692 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
1answer
216 views

monochromatic and mesh style of 3d plotting

how to adjust the mesh and monochromatic plot to be same as this
-2
votes
2answers
205 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
1answer
81 views

Help me with this plot

I need to plot this function $$ \Omega_{rq}=\sqrt{1+\frac{1-\epsilon_{dd}\left[\frac{2-5\kappa^2}{2(1-\kappa^2)}+\frac{\kappa^2(6+9\kappa^2)f_s(\kappa)}{4(1-\kappa^2)^2}\right]}{1+\epsilon_{dd}\left[\...
-2
votes
1answer
78 views

Creating a matrix and plotting its columns with legends [closed]

I have 2 questions: Question 1: val = Table[10 i + j, {i, 4}, {j, 3}] ...
-2
votes
1answer
1k views

Plot function with different parameters' values

how can I plot couple plots for different theta in one graph with theta step of 0.05 and from 0 to 1,5?
-2
votes
2answers
978 views

Plotting DSolve results

I am attempting to make a plot of the solution an ODE. I want to plot the solution using PolarPlot, x is the polar angle in ...
-2
votes
1answer
52 views

Mathematica Plot [closed]

How can I plot List in Mathematica
-2
votes
1answer
92 views

Mathematica empty plots problem [RESOLVED] [closed]

Two of my homework problems don't want to get plotted.. I keep getting empty graphs with only the two axes: And for the second one: UPDATED TEXT VERSION: ...
-2
votes
1answer
426 views

Plot in polar coordinates

I want to plot the next parametric curves in polar coordinates r(t)=sin(r(t)) phi(t)=t How can I make it in Mathematica?
-2
votes
1answer
1k views

plot sum of two function [closed]

I am trying to illustrate sum of functions. I have one function x*x - 8*x + 7 and another Log[2*x + 4.5] I understand that I ...
-2
votes
1answer
519 views

How can I combine two plots that were created in different notebooks?

I have two different programs for simulating a system. when I get the results I have plotting result for each. now I want to combine both drawings so that I compare between them. I want to put both of ...
-2
votes
1answer
910 views

Problem with plotting a function with NIntegrate

Why does the following Plot3D command never terminate? ...
-2
votes
1answer
398 views

Why does the PlotStyle not apply globaly when I plot multiple data files

I have several data files which contain columns of data. All my files follow the same format data001.out, data002.out, ... , data00n.out. I want to import and plot all of them simultaneously. In ...
-2
votes
2answers
142 views

Shading one petal of Cos[3 t] inside of r = 1/2

I tried to use some of the techniques here to shade the area inside the overlap of r=cos(3t) and r=1/2 and was unsuccessful. ...
-2
votes
1answer
94 views

Coloring a range of values in a 2D scatter plot with the same color

I want to give different color to the two bands of points as shown in the graph. How to do so?
-2
votes
1answer
160 views

Plotting 3-dimensional graphs [duplicate]

I just started Calculus 3 and I thought it would be useful to see images of functions to get used to the transition of visualizing in 3-dimensions. I was wondering how one would go about plotting a ...
-2
votes
1answer
77 views

Plotting output in two columns beside each other from a for loop [closed]

How can I have the output plots in two columns instead of having the plots in a sequence? Like the following: []
-2
votes
1answer
115 views

Manipulate aborts the computation of NDSolve with the Piecewise function after curtain time [closed]

I'm facing the problem with performance: Manipulate is working fine till end time =60 sec, after that it aborts. There is NDSolve inside Manipulate with Piecewise function, and the plot of the ...
-2
votes
1answer
93 views

Plotting a function with Exponential, Trigonometric functions [closed]

I didn't manage to plot the following function : f[x_] := Exp[2*x] - Log[e + x]/(x^3 + Sin[x]*Cos[x]) Plot[f[x], {x, -10, 10}] Can you help me to correct my code ...
-2
votes
1answer
453 views

Plot the result of NIntegrate for different parameter values

I want to plot the result of a numerical integration containing a parameter in terms of the parameter. The code is: ...
-2
votes
1answer
103 views

Co-ordinates/ data marker in 3D plot

How to place the data marker or see the co-ordinates in below 3D plot and how to list all data points in this plot? ...