add velr plot
This commit is contained in:
@@ -57,6 +57,13 @@ def ring_stuff(galsec, delta_r=1):
|
|||||||
plt.xlabel("R [kpc]")
|
plt.xlabel("R [kpc]")
|
||||||
plt.savefig("rotation_curve.png")
|
plt.savefig("rotation_curve.png")
|
||||||
|
|
||||||
|
plt.figure(constrained_layout=True, figsize=(5,4))
|
||||||
|
velr = galsec.rings['gas']["velr"]
|
||||||
|
plt.plot(r_gas, velr)
|
||||||
|
plt.ylabel(r"$v_r$ [km/s]")
|
||||||
|
plt.xlabel("R [kpc]")
|
||||||
|
plt.savefig("vr.png")
|
||||||
|
|
||||||
|
|
||||||
plt.figure(constrained_layout=True, figsize=(5,4))
|
plt.figure(constrained_layout=True, figsize=(5,4))
|
||||||
sigma_velphi = galsec.rings['gas']["sigma_velphi"]
|
sigma_velphi = galsec.rings['gas']["sigma_velphi"]
|
||||||
|
|||||||
Reference in New Issue
Block a user