Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
16,124
questions
0
votes
0
answers
19
views
how to make a parametricplot3d to be a solid 3d shape and the moment of inertia and center of mass
I want to make this parametricplot3d to be in a 3d solid shape of rotor. and also i want to make that because i need to know the moment of inertia and also the center of the mass of rotor. also, how ...
0
votes
0
answers
35
views
Labeled[..,..,Above] giving MapThread::mptd errors
As far as I see there is no single thing on the internet with errorcode MapThread::mptd being associated with the Labeled ...
0
votes
0
answers
33
views
Transparent Vibrant Color in 3D Region Plot
How to make a 3D region plot (for example a unit cube) transparent with vibrant color. I can do this by PlotStyle-> Directive[RGBColor[1., 1., 0.02], Opacity[0.1],
Specularity[Yellow, 100]]. But ...
3
votes
1
answer
68
views
Using `Filling` in a plot changes the font of the tick marks?
If I evaluate the following code (in Mma 14.0 on an Apple silicon 2024 macbook running macos 14.6.1 (23G93))
...
0
votes
1
answer
55
views
Colour scheme for this graph
How to produce a graph with the colour scheme used in the graph shared below?
I have the following code for measuring the eigenstate and eigenvalue
...
2
votes
1
answer
100
views
Replicating Complex Plot (branch cuts, poles, shading)
I am trying to recreate the following 2 plots:
where the function being plotted is $|e^{2ipR}S_0^{\text{well}}(p)|$ where $|...|$ is the absolute value, $R=1$, and $S_0^{\text{well}}(p)$ is given as
\...
0
votes
2
answers
58
views
How to make the specific filling in the plot
Consider the following curves:
...
2
votes
1
answer
64
views
SwatchLegend using a table
I am facing a problem while adding another column to the SwatchLegend using a table. The below code is provided in Mathematica Documentations
Original Code
...
2
votes
1
answer
110
views
Find Way to Make Solid 3D from ParametricPlot3D and Also Finding the Moment of Inertia and Center of Mass
I want to Find way to make Solid 3D from ParametricPlot3D and also finding the Moment of Inertia and Center of Mass. this is my code, hope it'll be helpfull to answer my problem. thank you.
...
0
votes
0
answers
60
views
How to get the root from a hypergeometric function and plot it in the complex plane
I'm trying to reproduce the plot(Figure 3) of this paper. Here, the strip length's expression is given by the Equation.13
$t_\pm(z)= A_\pm \pm \iota \frac{z_t}{d}(\frac{z}{z_t})^d \times
{}_2F_1\left(\...
1
vote
1
answer
23
views
ImageCrop of Legended object does not work. Title is also a lot more distant. How do I convert Legended to Image?
I have a Plot3D object that I want to crop via ImageCrop and give a Title. I have Legended the plot, i.e.
...
3
votes
1
answer
100
views
Empty Poincare Section When The Phase Space Is Full
I have the following Mathematica code for drawing Phase Space:
...
3
votes
2
answers
52
views
How do I move the label of DateInterval to the middle in TimelinePlot?
This is my current code for TimelinePlot:
...
0
votes
1
answer
42
views
Need help with MultiaxesArrangement
I'm trying to use different axes for the third of three lines because the difference in scale makes it impossible to see the effects on the third line. However, the resulting graph bunches all of the ...
2
votes
1
answer
113
views
Poincare section keeps running without giving results
I am trying to find the Poincare section as given in Figure 7 of this paper.
This is the code that I am using for it:
...
4
votes
1
answer
102
views
Plotting orbitals on a lattice
I wish to construct a plot where I show various d orbitals on a face-centred cubic lattice. For example, lets say I want to plot two dxy orbitals on two sites of the lattice.
I can plot the lattice as ...
0
votes
1
answer
53
views
Plot Mesh with the given coordinates ListDensityPlot
Assume I have a set of points {x_i,y_i,f_i}, i=1;;N, which are not equidistant. Now I am plotting them via ListDensityPlot[{{x_1,y_1,f_1},{x_2,y_2,f_2},......}].
How I can plot a Mesh, which with ...
0
votes
0
answers
17
views
Save adequate version of ContourPlot without artifacts and of small size: rasterization does not work [duplicate]
Consider this code used in Mathematica 13.2:
...
0
votes
0
answers
35
views
How to align the colors of contours and legend bar in ContourPlot
Consider the following plot:
...
1
vote
0
answers
38
views
How can one hide the seamline caused by the wrapping of a function to a sphere? [closed]
I have data2 of the type data2 = {{theta_1, phi_1, value_1},{theta_2, phi_2, value_2},{theta_3, phi_3, value_3},.....,{theta_n, phi_n, value_n}},
where:
theta is a polar angle (in degrees) and ...
3
votes
1
answer
48
views
Line-separated MatrixPlot based on magnitude
Given the matrix
...
0
votes
1
answer
48
views
Unwanted Triangular Mesh Artifacts in ContourPlot When Exporting as PDF [duplicate]
I am using the following Mathematica snippet to generate a contour plot:
...
1
vote
0
answers
46
views
How to plot potential function with Heaviside step function
How to plot $\frac{V(\varphi)}{V_{0}}$ with respect to $\frac{\varphi}{\varphi_{0}}$ for the following $V(\phi)$, where $\lambda_{0}=-1.0\times10^{-14},e=2.718,N_{UV}=15,g_{0}=0.0217,k=(16\pi^{2})^{-1}...
0
votes
0
answers
47
views
Doing a graph for inverse cotangent using mathematica [closed]
I don't know what's the problem of the codes that I have that produces the graph below
I expect that there is a continuation of the graph on the second quadrant, but can't really fix it using the ...
0
votes
1
answer
70
views
Gap between labels of the axes and the arrowheads
I have posted a question Doing a graph using mathematica in this site few hours ago and I got a nice answer too.
I tried some modifications of the codes and got satisfied with the output. Here is the ...
-1
votes
0
answers
42
views
Invert a Pair of Density Plots
I am currently solving the following system of equations:
$$
\begin{bmatrix}
A(x,y) & B(x,y)\\
C(x,y) & D(x,y)
\end{bmatrix} \begin{bmatrix}
\alpha\\
\beta
\end{bmatrix} = \begin{...
0
votes
1
answer
66
views
Plotting a graph for inverse sine
I want to make a graph of the arcsine function using Mathematica. The following figure was created using GeoGebra:
What I've got so far is this
...
1
vote
0
answers
33
views
No ticks on the x-axis [closed]
Here is the graph that I've produced using Wolfram mathematica:
I can't see the ticks on the x-axis. I don't know the command for it. I already attempted many times but got failed.
Here is the code ...
5
votes
3
answers
365
views
How to make a ParametricPlot3D into solid shape
so, how define the moment of inertia and center of mass of this frustum? I find this quite dificult, instead i can make this frustum to be a solid 3d and find the volume of the frustum code.
so, the ...
1
vote
1
answer
57
views
DateTicksFormat -> Automatic different in 14.1 than in 14.0
In v Mathematica 14.0, the default automatic setting for DateTicksFormat in DateListPlot displayed the time on the horizontal ...
1
vote
2
answers
100
views
About a point in a piecewise function
I would like to create a graph as shown below using Wolfram Mathematica:
This is what I've tried:
...
1
vote
1
answer
68
views
Solution Of 2D Logarithmic PDE In Periodic Potential In Imaginary-Time Propagation Method
I am trying to solve Eq.no.(8) from https://arxiv.org/pdf/2009.06804 and generate Fig. (3)-(4). The problem I am facing is that in imaginary time propagation method the solution is growing with time ...
0
votes
1
answer
37
views
VectorColorFunction to use another function for the color
I would like to make a vector plot where the vector is a multivariable function of $x$ and $y$ and the color of the vector is another function (like the $z$ component of the vector effectively).
Here ...
1
vote
1
answer
114
views
Histogram of angular data without edge aliasing?
I'm sampling angles which are known to have a certain density in $(-\pi,\pi)$ range (background). Using Histogram to visualize it creates an aliasing effect around ...
-3
votes
1
answer
100
views
Why can't an image be drawn?
Why doesn't this code draw the graph of the equation?
...
1
vote
1
answer
57
views
Parametric plot issue
I have a simple program,
...
6
votes
1
answer
202
views
Continuously vary tube radius of parametricPlot3D depending on distance from origin
I'm doing a project trying to 3D print the stereographic projections of 4D shapes, and I need it so that the lines are thinner towards the origin for structural reasons. I've written functions to do ...
1
vote
2
answers
87
views
Removing white regions from density plot
I am trying to use a density plot to show the value of a function, but I get white regions that I don't know how to get rid of. I have used several questions and answers in this website and have ...
3
votes
1
answer
162
views
Duffing Equation:Transition to Chaos
I create the following code but the results were not that I expected for. The paper I study is Duffing Equation
My code gives me the following. But I want a smoother and clearer plot. What should I ...
0
votes
1
answer
53
views
Parametric differential equations
I'm totally beginner in Wolfram. And I trying to do some research. If it's not difficult for you, please help me.
I have a system of three differential equations with four parameters: beta, delta, p, ...
1
vote
2
answers
48
views
Regions that a function of three variables is positive
I have a function $u(bb,GG,s)$. I want to find the regions where this function is positive for all values of s between 0.01 and 10. The other two variables bb and GG vary in the intervals $0.01<bb&...
0
votes
0
answers
32
views
Solving expression with incomplete gamma function and plotting
In the following code I want to plot fplot1 vs P by substituting r from ...
0
votes
1
answer
44
views
Plotting vector field at specific locations
I have two csv files. One that contains the site locations of a lattice and then other that contains the locations corresponding vector data.
I import both data sets as:
...
1
vote
0
answers
74
views
I want to plot the frequency spectra of the output field
I have the following coupled equations, as shown in the attached picture. I want to solve them using the Runge-Kutta method and apply the initial conditions to my code and picture. Also, plot the ...
0
votes
1
answer
41
views
Plotting arrows whose lengths are proportional to a list of numbers on a 2D grid
I am trying to plot arrows whose lengths are proportional to a list of numbers, on top of a 2D arrayplot. For example, I have an Arrayplot like this-
I was able to lay circles whose diameter was ...
-3
votes
1
answer
122
views
I have a error on my code but I can't find it!
I have a problem by my code I can't find it yet!!
...
0
votes
1
answer
32
views
Plotting the result of NDSolve for different values of a parameter
I have numerically solved an integral and plotted the result for a specific value $ll=0.1$ in a function g.
...
0
votes
1
answer
60
views
Manipulating plot of DSolveValue
I am solving a heat equation in following example:
...
3
votes
1
answer
321
views
Simulation Lorenz83 Attractor
I tried to simulate the Lorenz83 Attractor that is defined by the following system of nonlinear ordinary differential equations:
\begin{eqnarray*}
\frac{dx}{dt}&=&-a x -...
1
vote
1
answer
58
views
Plotrange issue for multiple parametric plots inside Show command [closed]
I have following two parametric plots,
...