Skip to content

Commit

Permalink
Consistent line colours
Browse files Browse the repository at this point in the history
  • Loading branch information
e-koch committed Feb 8, 2019
1 parent 5ece71d commit f80f273
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions analysis/line_ratios_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def _logprob(p, x, y, x_err, y_err):
# facecolor=sb.color_palette()[0],
# alpha=0.5)
plt.plot([4, 12], [4. * slope_ratio, 12. * slope_ratio],
'--', color=sb.color_palette()[1], linewidth=3,
'--', color=sb.color_palette()[2], linewidth=3,
label='Ratio Fit')

# Shade in the region from the added variance
Expand All @@ -250,11 +250,11 @@ def _logprob(p, x, y, x_err, y_err):
# facecolor=sb.color_palette()[1],
# alpha=0.35)

plt.plot([4, 12], [4, 12], '-.', linewidth=3, alpha=0.8,
color=sb.color_palette()[2],
plt.plot([4, 12], [4, 12], '-', linewidth=3, alpha=0.8,
color=sb.color_palette()[3],
label=r'$\sigma_{\rm CO} = \sigma_{\rm HI}$')

plt.axhline(2.6, color=sb.color_palette()[3], linestyle=':',
plt.axhline(2.6, color=sb.color_palette()[4], linestyle=':',
alpha=0.5, linewidth=3)

plt.ylim([0.5, 8])
Expand Down Expand Up @@ -297,7 +297,7 @@ def _logprob(p, x, y, x_err, y_err):
label='Ratio Fit')


line2 = axs[2].plot([4, 12], [4, 12], '-.', linewidth=3, alpha=0.8,
line2 = axs[2].plot([4, 12], [4, 12], '-', linewidth=3, alpha=0.8,
color=sb.color_palette()[3],
label=r'$\sigma_{\rm CO} = \sigma_{\rm HI}$')

Expand Down

0 comments on commit f80f273

Please sign in to comment.