# Questions tagged [plotting]

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

15,605 questions
Filter by
Sorted by
Tagged with
225 views

### Half of an Ellipsoid

Why is this showing fuzzy? Like the corona of a sun? I want to graph the half of an ellipsoid 4x^2+y^2+4z^2=4 that lies to the right of the xz-plane. I specifically want to show that it is half (the ...
• 23
1 vote
61 views

### Animate function error

I'm new to Mathematica and I'm trying to plot a interactive graph of a curve with a slider that shows the tangent to the curve in whichever point of the interval, my implementation is ...
• 13
61 views

### Visualizing conformal map from upper half plane to n-gon

I want to plot both the upper half plane and the image of it i.e. a polygonal region via Schwarz-Christoffel maps. One example is for a quadrilateral. ...
1 vote
51 views

### How to avoid grid lines to be removed in Detailed plot theme? [closed]

Hi guys I have the following equation that I want to plot. pixx = k^2 Exp[-2 k^2 Sin[(t)/2]^2 ](-Sin[2t] - Sin[t](1-k^2 Sin[t]^2)); So I plotted as usual ...
• 349
595 views

### Curvature of a Klein bottle

1. Problem statement An old answer of mine: Computing Gaussian curvature shows how to color parametric curves and surfaces according to their curvature. However, the methods used there will fail for ...
• 48k
1 vote
43 views

### How to draw an equation in an irregular ImplicitRegion？ [closed]

I am trying to draw an equation in an specific area. I use ImplicitRegion to define the area. I can use RegionPlot to draw the ...
• 119
1 vote
69 views

### One problem with ListPlot3D [duplicate]

I plot a table in Mathematica using ListPlot3D. The table contains very simple data but the resulting plot is very weird at least for me. I expect that the plot should look like a rectangle in 3D but ...
• 109
86 views

### How to code retarded time in Lienard-Wiechert potential equations?

I have been making strides on my project with the help of others here but have run into another snag: I am having difficulty in expressing the Lienard-Wiechert potentials with retarded time. For ...
• 55
311 views

### Remove decimal point in ScientificForm

I am trying to remove the decimal point displayed on the y-axis ticks. At the very least, a zero should follow the decimal point. I have included a MWE below. ...
• 249
1 vote
53 views

### Fitting experimental data to a plot with different x-axis paths

Given Mathematica code of eigenvalues in different variable-paths , I want to add experimental data in the path Gamma-X ; X-Gamma ; and M-Gamma . Here is the code : ...
• 117
88 views

### Speed Up Plotting of Mathieu Equations

I am trying to plot Mathieu Functions, running for an hour without a result. Here is my code: First define the relevant physical constant: ...
62 views

### Superimpose Line Styles With Parametric Coloring

My aim is to plot each function with distinct style superimpose with color based upon parameter. For instance, I have 3 functions of 1 variable and 1 parameter. Table command is used for iterating ...
143 views

### Superimpose PlotLegends, Correctly

My aim is to plot each function with distinct style superimpose with color based upon parameter. For instance, I have 3 functions of 1 variable and 1 parameter. Table command is used for iterating ...
1 vote
74 views

### How to compare simulated and experimental data?

I have numerically simulated and experimental data, I want to compare them and find the variation against numerical data. I do not have any idea about it. I just plotted experimental and simulated ...
• 1,055
1 vote
113 views

### Zoom on a specified region of a plot

Till this date Mathematica is devoid of a dedicated function which can be used to zoom over a specified region of a plot and placed the zoomed sub-plot inside the main plot as an inset. (usually found ...
81 views

### Help with animating a plot in 3D cylindrical coordinates

I am trying to figure out how to animate (for different values of k) the following function in cylindrical coordinates and would appreciate some help. $$f=r^2*k-r*cos(theta)$$ I can't seem to figure ...
298 views

### Plotting multiple parametric 3D curves without using the Show command

How can I plot multiple parametric 3D curves on a single graph without the need to combine them using Show? Additionally, is there a way to clearly distinguish ...
• 2,411
41 views

### How to plot in double Log scale from CSV file?

How to plot in double Log scale from CSV file? I tried to use ListLogLogPlot but it scales only x axis. CSV file consists of two columns with comma: 0.1,6.2262 0.2,6.2324 0.3,6.2372 0.4,6.243 0.5,6....
1 vote
190 views

### Adding direction arrows to discrete plot

I wanted a discrete plot of $y = -\dfrac{3}{2} x$ and used DiscretePlot[-3/2 x, {x, -20, 20}] I do not like the vertical lines shown in the plot but I did not ...
• 3,044
70 views

### Can Mathematica convert bitmaps to vectors?

I know that in Mathematica doesn't seem to support vector graphics for 3D ploting, e.g. exporting-2d-projection-of-3d-graph-in-svg-form. But as far as I know, some paid software can achieve this. ...
• 2,005
154 views

### Applying style on graph objects specifically

My goal is to display the data and their mean and +-1 sigma. My code is as below. But the average and +-sigma values ​​are all red dots. Could I get help on how to fix my code to display the +-sigma ...
• 359
82 views

### Calculate the mean value from point inside a 2D contour

I saw a question about creating contour lines over a smoothdensityhistogram plot. It really help me to create this kind of graphs. I want to ask if is possible to extract only the points inside a ...
371 views

1k views

### A perforated ding dong surface

Looking at this surface, which I created with Blender / Python, I asked myself how we can duplicate some aspects of the scene with ...
• 48k
97 views

### Why won't this magnetic field plot?

I have been having some longstanding trouble in getting a 2D vector plot of a magnetic field to show up. For context, I am working with Lienard-Wiechert potentials and as such trying to plot the curl ...
• 55
1 vote
79 views

### Trying to plot a CSV file and getting a blank graph

I am trying to plot two NMR line graphs superimposed to show a before and after. I was able to successfully do it with excel files but the CSV files have been giving me trouble. This is my code. I ...
• 11
67 views

### Evaluate the time average of Mathieu functions

I defined a function composed of Mathieu's periodic functions: ...
163 views

### Sierpinski Triangle and Benford's Law (Edit)

I would like some help solving the following problem using Mathematica: Show that, no matter what the initial area of an equilateral triangle is, the sequence of areas (painted in black) of the ...
57 views

### How to change FeynArts Paint style settings?

I'm a Mathematica stylesheet enthusiast. I love using beautiful stylesheet instead of the default one, such as Dracular. I'm also a physics researcher on scattering amplitudes, which forces me to use ...
• 19
84 views

### Dispersion equation [duplicate]

I want surface plot of real part of any one of the complex roots of the following fifth degree dispersion equation in wave velocity v in Mathematica. Surface plot of real part of any complex root w.r....
161 views

### Contour Plot of complex roots of dispersion equation

I want a contour plot of the complex roots of the following fifth degree dispersion equation in wave velocity v in Mathematica: ...
115 views

### How can I improve the plotting speed of plot3D with region calculations?

I'm looking to achieve the desired result as shown in the attached image. There may be various methods to obtain such a plot, but my current code seems to be running quite slowly. Unfortunately, my ...
97 views

### Using shooting method to solve DE of fourth order

I am trying to solve a fourth-order differential equation using the shooting method and I wrote the following code, But this code does not work for me and I don't know what the problem is. ...
• 73
1 vote
125 views

### Unexpected output in ContourPlot

ContourPlot[Boole[(Im[x+ I y]!=0&&Re[x+I y]<=-1)||Re[x+I y]>-1],{x,-5,1},{y,-5,5}, PlotPoints->200] shows two white lines, the horizontal ray from ...
• 3,912
1 vote
I am trying to model a projectile motion with lift and drag forces. I have written the code below, solved for $y$ and $x$, and tried to plot it. However, I don't know how to implement the fact that ...