new introplot{

This commit is contained in:
weygoldt 2023-01-26 14:37:29 +01:00
parent 4697bee490
commit 5cf6e3f9c0
4 changed files with 18 additions and 17 deletions

View File

@ -279,26 +279,28 @@ def main(dataroot):
ax[i].fill_between(
kde_time,
np.percentile(loser_offsets_boot[-1], 5, axis=0),
np.percentile(loser_offsets_boot[-1], 95, axis=0),
color=ps.gray,
alpha=0.5)
np.percentile(loser_offsets_boot[-1], 1, axis=0),
np.percentile(loser_offsets_boot[-1], 99, axis=0),
color=ps.white,
alpha=0.3)
ax[i].plot(kde_time, np.median(loser_offsets_boot[-1], axis=0),
color=ps.black, linewidth=2)
# ax[i].fill_between(
# kde_time,
# np.percentile(loser_offsets_jackknife, 5, axis=0),
# np.percentile(loser_offsets_jackknife, 95, axis=0),
# color=ps.blue,
# alpha=0.5)
# ax[i].plot(kde_time, np.median(loser_offsets_jackknife, axis=0),
# color=ps.white, linewidth=2)
ax[i].axvline(0, color=ps.gray, linestyle='--')
ax[i].set_xlim(-60, 60)
ax[i].fill_between(
kde_time,
np.percentile(loser_offsets_jackknife, 5, axis=0),
np.percentile(loser_offsets_jackknife, 95, axis=0),
color=ps.blue,
alpha=0.5)
ax[i].plot(kde_time, np.median(loser_offsets_jackknife, axis=0),
color=ps.white, linewidth=2)
embed()
ax[i].set_xlim(-60, 60)
fig.supylabel('Chirp rate (Hz)', fontsize=14)
fig.supxlabel('Time (s)', fontsize=14)
# fig, ax = plt.subplots(2, 3, figsize=(
# 21*ps.cm, 10*ps.cm), sharey=True, sharex=True)
@ -391,7 +393,6 @@ def main(dataroot):
# color='black', linewidth=2)
# ax[0, 0].set_xlim(-30, 30)
plt.show()
# winner_onsets = np.sort(flatten(winner_onsets))
# winner_offsets = np.sort(flatten(winner_offsets))
@ -519,7 +520,7 @@ def main(dataroot):
# color=ps.gray,
# alpha=0.5)
# plt.show()
plt.show()
if __name__ == '__main__':

Binary file not shown.

Binary file not shown.

View File

@ -36,7 +36,7 @@ blockverticalspace=2mm, colspace=20mm, subcolspace=0mm]{tikzposter} %Default val
\vspace{2cm}
\begin{tikzfigure}[]
\label{fig:alg2}
\includegraphics[width=0.9\linewidth]{figs/algorithm}
\includegraphics[width=1\linewidth]{figs/algorithm}
\end{tikzfigure}
\vspace{0cm}
}