Questions tagged [plotting]

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

Filter by
Sorted by
Tagged with
3 votes
2 answers
56 views

Representation of the intersection between a sphere and a plane

Consider the plane $N: x+y+z-3 q=0$ where $q$ is fixed and the sphere $S: (x-q)^2+(y-q)^2+(z-q)^2=r$ where $r$ is fixed. I would like to make a 3D plot of $N$ and of $S\cap N$. Here is my command ...
Smilia's user avatar
  • 528
0 votes
0 answers
54 views

How to improve DensityPlot resolution?

...
valar morghulis's user avatar
1 vote
2 answers
65 views

Can someone tell me how to plot the following output on Mathematica?

I have this Mathematica output on a differential equation using DSolve and I need to find a way to graphically plot it. How should I proceed? Thank you very much ...
fp007's user avatar
  • 11
0 votes
1 answer
37 views

Difficulty to create the 3D plot of the Linear Schrödinger equation (Fourier Transform)

I am trying to solve the linear Schrödinger equation with Fourier transform as follows. Although analytically I was able to solve it and create the graphs I wanted. I have difficulty making the ...
Athanasios Paraskevopoulos's user avatar
0 votes
0 answers
38 views

How to alter PlotRange

This is a follow-up question of my previous post: How to combine several plots with different $x$ and $y$-axis? ...
IntegralLover's user avatar
3 votes
1 answer
60 views

Precision problem in DensityPlots

I need to perform a DensityPlot, but the figure is partially displayed. The codes and figure are shown below. ...
user14634's user avatar
  • 749
0 votes
1 answer
64 views

How to label the coordinate axis of the zero point of the first-order derivative function in the image?

You have posted almost identical question and got several answers: How can I mark the intersection of lines and curves with letters and coordinate values?. I am certain that given the complexity of ...
csn899's user avatar
  • 1,631
5 votes
2 answers
187 views

Plotting inequality in Mathematica [closed]

I want to get a pictorial view of the condition (x-y)(4z^2-xy)>0. Had there been only two variables, a 3D plot would have worked, but what can one do with three ...
User1729173's user avatar
6 votes
4 answers
321 views

Highlight parts of two different curves

In the plot generated by y = 1; Plot[{Sin[x] x^-2/y, y}, {x, 0, 2}, PlotRange -> {0, 2}] how can one highlight the curve as shown below, and possibly fill ...
User1729173's user avatar
0 votes
0 answers
33 views

ParametricPlot3D locations of axes and labels

In 3d plots, the location of the axes are very annoying since it adjusts automatically and usually it does not appeal to what we want. I have browsed some posts but I have not seen any that dealt with ...
mathemania's user avatar
-2 votes
0 answers
50 views

Program for revolution [closed]

Can you corrige my program ? This program is supposed, from the arguments entered by the user, to revolutionize a sketch around an axis. ...
Colur Kenr's user avatar
2 votes
1 answer
67 views

Applying string to ticks along X axis

I need to plot a dataset with the x-axis ticks as character (String) instead of conventional number. How can I do it? Here is my data and code: ...
P Pyne's user avatar
  • 331
-4 votes
1 answer
91 views

How to write Mathematica code for this figure

[![enter image description here][1]][1] [1]: https://i.stack.imgur.com/G5xvm.png. How to write Mathematica code for this figure
abdul wahab's user avatar
1 vote
1 answer
43 views

How do I assign PlotMarkers based on two different variables?

I'm trying to create ternary diagrams with 6 data points (samples) that each have two values - a type and a location. I have these two pieces: ...
Ilene Kruger's user avatar
1 vote
2 answers
156 views

3D plot of a triple integral in polar coordinates

I have a triple integral with 2 changing angles (a and t). I need to integrate it and obtain a 3DPlot in polar coordinates (R,a,t). But Mathematica does not make it. What is wrong here? ...
Hexe's user avatar
  • 11
1 vote
1 answer
84 views

How to get DFT from Sound/Audio/Image?

When I'm trying to do Discrete Fourier Transform or just get a ListPlot of values from Sound object, I get error message.. I understand that Fourier command (and ListPlot of course) works only with ...
shamil khal's user avatar
1 vote
1 answer
120 views

How to color the first derivative function and corresponding original function images accordingly?

How to modify this code so that the first derivative image of the function displays different colors above and below the x-axis? Based on Michael E2's comments in the above post, the following code ...
csn899's user avatar
  • 1,631
1 vote
1 answer
119 views

How to modify this code so that the first derivative image of the function displays different colors above and below the x-axis?

...
csn899's user avatar
  • 1,631
2 votes
1 answer
65 views

Mathematica StackedList Plot error : An option must be a rule or a list of rules [closed]

I am trying to plot the given equation as a StackedListPlot. It works normally when I use the Plot function but does not work when I use the StackedList Plot. ...
Amo's user avatar
  • 23
2 votes
2 answers
118 views

Plotting the z(x,y) = 0 plane with Plot3D. How can I make the Mesh in polar coordinates?

If I Plot3D[0,{x,-10,10},{y,-10,10}] I get the desired z(x,y) = 0 plane which I want to plot, however with a cartesian mesh drawn on it. I would instead like the mesh to be in polar coordinates. How ...
Britzel's user avatar
  • 663
2 votes
1 answer
49 views

Plane embedded in Non-Euclidean spacetime

The AdS-Schwarzschild black hole metric is given by, $$ds^2 = \frac{1}{z^2} \left( -f(z) dt^2 + \frac{dz^2}{f(z)} + dx^2 \right)$$ where $t$ is time, $z$ is the radial direction, $x$ is a transverse ...
mathemania's user avatar
1 vote
1 answer
64 views

How to define step size of y axis in mathematica plot [closed]

I want to plot the following function. f(r) = 1 - $\frac{10}{r}$ e$^{-\frac{0.7^2}{10 r}}$. I can specify x-axis range using Plot[f[r],{r,0,20}] For the above ...
apk's user avatar
  • 267
3 votes
1 answer
84 views

Clip Planes issues

I want to plot a schematic diagram of this or So far, I am able to plot this using the code provided below. I am having a problem with ClipPlanes ...
user84456's user avatar
  • 1,262
7 votes
2 answers
426 views

How to divide the contour in three parts with the same arclength?

We set MeshFunctions to "ArcLength",but it is missing the boundary point,so there only two points on the contour. <...
herbertfederer's user avatar
0 votes
1 answer
93 views

Plotting InterpolatingFunction of a solution of Fokker-Planck equation

I want the 3D surface plot of -Log[sol[x,y,8]] but I can't handle the InterpolatingFunction error. Please help me in extracting the function. ...
Gitsagar's user avatar
0 votes
2 answers
79 views

Problem during the analysis and plotting of a large data

I am dealing with a large dataset and I need to plot the dataset as a contour plot. The code is as follows: ...
P Pyne's user avatar
  • 331
0 votes
3 answers
88 views

List manipulation and plotting

I have a code which takes as input RandomSample[Range[d^2],4] for a given d and outputs a value ...
Dotman's user avatar
  • 332
1 vote
2 answers
125 views

Solving an implicit equation involving Elliptic integral

I have the following equation: EllipticE[1/(1 + 16*(ja*me + jb*mo)^2)] + 16*(ja*me + jb*mo)^2*EllipticK[1/(1 + 16*(ja*me + jb*mo)^2)] == 0 I want to find values ...
Barry's user avatar
  • 113
0 votes
1 answer
62 views

Differently colored points inside the circle

Let Ar1 = {{1/2, 1/2}, {-1/2, 1/2}}, Ar2 = {{-1/2, -1/2}, {1/2, -1/2}} and ...
Fancier of Mathematica's user avatar
0 votes
0 answers
55 views

How to write "Degree" in a proper way while drawing a scatter plot in mathematica?

I want to draw a scatter plot of a equation which includes trigonometric \Sin[\theta] etc. Please show me the proper way to specify "Degree" while drawing the scatter plot. For Eg. if I ...
Sangeeta Dey's user avatar
0 votes
0 answers
33 views

Issue with ListPlot3D [closed]

The following doesn't generate a plot ...
User1729173's user avatar
0 votes
1 answer
40 views

How to adjust PlotRange automatically depending on the value of the function?

Consider the following test function: func[x_] = x^3 Exp[-x^2]; In general, it may be an arbitrary function without e.g. extrema. I want to plot it: ...
John Taylor's user avatar
  • 4,866
0 votes
1 answer
46 views

when we solve the simple ODE then [closed]

NDSolve[{u'[y] + (k + y) u''[y] - Ha^2 (k + y) u[y] - u[y]/(-k + y) == -k, u[-1] == 0, u[1] == 0}, u[y], y] gives the error ...
Shahzad Gulzar's user avatar
0 votes
1 answer
48 views

BarLegend inconsistent with DensityPlot colors

In this post, 2D transient heat equation solution, @Alex Trounev helped me, in setting up a 2D simulation of a heat transfer problem where multiple materials are involved. The code is here: ...
Luigi's user avatar
  • 1,197
1 vote
1 answer
101 views

How to show a contourplot within a region?

I want to make a cotourplot given by ...
atanu's user avatar
  • 321
3 votes
2 answers
121 views

Plotting two variables from multiple lists

Given a few lists as below ...
User1729173's user avatar
0 votes
0 answers
46 views

How to correctly save plot in file?

I am running: WordCloud[{{"aw", 5}, {"bw", 1}}] and I am getting correct plot in notebook, which looks like: Now if I am trying to increase ...
vasili111's user avatar
  • 1,057
2 votes
1 answer
66 views

How to plot properly the disconnected regions if using the option Joined->True?

Consider the following domain: ...
John Taylor's user avatar
  • 4,866
2 votes
1 answer
92 views

How to draw a line on an existing region using RegionPlot with manipulate?

line1 = Table[{x, z + 1}, {x, 0, 2}]; Manipulate[ RegionPlot[x^2 + y^2 + z < 1, {x, 0, 2}, {y, 0, 2}, Epilog -> {Red, Line[line1]}], {{z, 0.5}, 0, 1}]when I ...
hu_rrr's user avatar
  • 85
0 votes
2 answers
60 views

LOG transformation [closed]

I have data (x,y) with some error bars, and I want to replace each value of y with log(y+1). I tried with Mathematica but it didn't work. What is the problem with my code? how can I calculate the ...
Yusra Zabarmawi's user avatar
0 votes
0 answers
40 views

How to export DensityPlot properly?

I generate some density plot using the following code: ...
John Taylor's user avatar
  • 4,866
1 vote
2 answers
91 views

Vectorizing in 3D environments

The following code ...
sam wolfe's user avatar
  • 4,233
6 votes
4 answers
324 views

Approximation of the Fabius function with a quotient of exponentials

Approximation of the Fabius function $f(x) = \text{FabiusF}[x+1]\cdot \text{HeavisideTheta}[1-x^2]$ - FabiusF[x] doesn't work in Wolfram-Alpha I am looking to figure out how well the displaced version ...
Joako's user avatar
  • 163
2 votes
2 answers
100 views

Solving 3D heat equation with an off-center boundary condition

So i have this code (albeit a simplified version but it'll do for this question)which solves a time dependant 3D heat equation on a cylinder. ...
ConfuzzledStudent's user avatar
0 votes
1 answer
73 views

Numerical Integration of System of Second-Order Differential Equations [closed]

Can Mathematica numerically integrate (and make an x-y plot of the solution of) a system of two second-order ODEs $$\frac{d^2x(t)}{dt^2}=A(t, x(t), y(t), \frac{dx(t)}{dt}, \frac{dy(t)}{dt})$$ $$\frac{...
user345249's user avatar
3 votes
1 answer
86 views

How to show points on the axes neatly in LogLogPlot?

Plotting f[x] as below ...
User101's user avatar
  • 583
-2 votes
1 answer
92 views

Mathematica is not showing the plot

Kindly take a look at this code. Mathematica is not evaluating the integration. Here I am providing the code. Please help me plot this integral. ...
sandeep Kumar's user avatar
3 votes
1 answer
235 views

Noise in energy spectrum

I am plotting the Landau levels of a system numerically. Every thing is going right except a lot of noise in the energy spectrum. Please, help me out to resolve this issue. Thanks! ...
user199's user avatar
  • 51
0 votes
0 answers
51 views

Plot of phonon-drag thermopower in Mathematica

I am interested in the phonon-drag thermopower in the case of bilayer graphene. I am following the paper "https://journals.aps.org/prb/abstract/10.1103/PhysRevB.82.155410". In this paper, I ...
sandeep Kumar's user avatar
4 votes
4 answers
260 views

On plotting multiple lists

I have four lists as given below: ...
User101's user avatar
  • 583

1
2 3 4 5
304