Changed colormap fontsize
This commit is contained in:
parent
83caf48282
commit
5f9091f18b
2 changed files with 7 additions and 7 deletions
|
|
@ -23,7 +23,7 @@ print('\n<<<<<<<<<<< Vlout for Talking, seated with chosen Cn,L >>>>>>>>>>>')
|
|||
|
||||
# Exhaled virions while breathing according to BLO model, seated #
|
||||
print('\n<<<<<<<<<<< Vlout for Breathing, seated with chosen Cn,B >>>>>>>>>>>')
|
||||
#exposure_model_from_vl_breathing_cn()
|
||||
exposure_model_from_vl_breathing_cn()
|
||||
print('\n')
|
||||
|
||||
############ Statistical Data ############
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import matplotlib as mpl
|
|||
|
||||
|
||||
######### Plot material #########
|
||||
SAMPLE_SIZE = 500000
|
||||
SAMPLE_SIZE = 50000
|
||||
viral_loads = np.linspace(2, 12, 600)
|
||||
|
||||
############# Markers (for legend) #############
|
||||
|
|
@ -120,10 +120,10 @@ def exposure_model_from_vl_breathing_cn():
|
|||
ax.plot(viral_loads, er_means, color=cmap.to_rgba(
|
||||
cn, alpha=0.75), linewidth=1, ls='--')
|
||||
plt.text(viral_loads[int(len(viral_loads)*0.9)], 10**4.2,
|
||||
r"$\mathbf{c_{n,B}=0.06}$", color=cmap.to_rgba(cn), fontesize=12)
|
||||
r"$\mathbf{c_{n,B}=0.06}$", color=cmap.to_rgba(cn), fontsize=12)
|
||||
|
||||
fig.colorbar(cmap, ticks=[0.01, 0.1, 0.25, 0.5],
|
||||
label="Particle emission concentration, ${c_{n,B}}$", fontesize=14)
|
||||
cmap = fig.colorbar(cmap, ticks=[0.01, 0.1, 0.25, 0.5])
|
||||
cmap.set_label(label='Particle emission concentration, ${c_{n,B}}$', fontsize=12)
|
||||
ax.set_yscale('log')
|
||||
|
||||
############# Coleman #############
|
||||
|
|
@ -230,10 +230,10 @@ def exposure_model_from_vl_talking_cn():
|
|||
ax.plot(viral_loads, er_means, color=cmap.to_rgba(
|
||||
cn, alpha=0.75), linewidth=1, ls='--')
|
||||
plt.text(viral_loads[int(len(viral_loads)*0.93)], 10**5.5,
|
||||
r"$\mathbf{c_{n,L}=0.2}$", color=cmap.to_rgba(cn), fontesize=12)
|
||||
r"$\mathbf{c_{n,L}=0.2}$", color=cmap.to_rgba(cn), fontsize=12)
|
||||
|
||||
fig.colorbar(cmap, ticks=[0.01, 0.5, 1.0, 2.0],
|
||||
label="Particle emission concentration, ${c_{n,L}}$", fontesize=14)
|
||||
label="Particle emission concentration, ${c_{n,L}}$", fontsize=14)
|
||||
ax.set_yscale('log')
|
||||
|
||||
############# Coleman #############
|
||||
|
|
|
|||
Loading…
Reference in a new issue