Added plots, fixed python files

This commit is contained in:
2023-03-28 23:14:40 +04:00
parent 09885e497f
commit ad351ce927
10 changed files with 70 additions and 26 deletions

View File

@@ -14,12 +14,11 @@ t_deg = t * 180 / np.pi
pol = np.pi / 4
plt.figure(figsize=(13, 8))
plt.plot(t_deg, q_s(t, pol), '--', label='Q_s')
plt.plot(t_deg, -q_g(t, pol), '-.', label='Q_g')
plt.plot(t_deg, q_mag(t, pol), label='Q_t')
plt.grid()
plt.plot(t_deg, q_s(t, pol), '--', label='$Q_s$')
plt.plot(t_deg, -q_g(t, pol), '-.', label='$Q_g$')
plt.plot(t_deg, q_mag(t, pol), label='$Q_t$')
plt.xlabel(r'$\theta$, deg', fontsize=18)
plt.ylabel('Q', fontsize=18)
plt.ylabel('$Q$', fontsize=18)
plt.legend(fontsize=18)
plt.title('Beam efficiencies', fontsize=20)
plt.title('Ray efficiencies', fontsize=20)
plt.show()