Mathematica 2D surface density plot in Mathematica

AI Thread Summary
The discussion focuses on plotting the function σ(r, φ) = (3r²/√(1 - r²)) e^(i(2φ - ωt)) in Mathematica, which represents a surface density for a galactic disk. The user seeks a 2D representation, expressing concerns that typical Mathematica plots produce 3D images. They suggest that a PolarPlot might be a viable starting point for achieving the desired 2D visualization. The function's time variable is currently being disregarded in the plotting process. Overall, the goal is to effectively visualize the "bar shape" characteristic of the galactic disk.
thealyosha
Messages
3
Reaction score
0
I am trying to plot the following function:

\sigma(r, \phi) = \frac{3r^2}{\sqrt{1 - r^2}} e^{i(2 \phi - \omega t)}

where \sigma is a surface density, r is radius, and \phi is azimuthal angle.

It is supposed to yield a "bar shape" for a galactic disk, but I'm not sure how to go about plotting it. It seems like all two-variable Mathematica plots yield 3D images, but I need a 2D image. The function also has a time variable, which I have been ignoring.
 
Physics news on Phys.org
Possibly using a PolarPlot would be somewhere to start?
 

Similar threads

Replies
2
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
16
Views
1K
Replies
1
Views
3K
Replies
2
Views
14K
Replies
6
Views
2K
Back
Top