new introplot{
This commit is contained in:
parent
4697bee490
commit
5cf6e3f9c0
@ -279,26 +279,28 @@ def main(dataroot):
|
|||||||
|
|
||||||
ax[i].fill_between(
|
ax[i].fill_between(
|
||||||
kde_time,
|
kde_time,
|
||||||
np.percentile(loser_offsets_boot[-1], 5, axis=0),
|
np.percentile(loser_offsets_boot[-1], 1, axis=0),
|
||||||
np.percentile(loser_offsets_boot[-1], 95, axis=0),
|
np.percentile(loser_offsets_boot[-1], 99, axis=0),
|
||||||
color=ps.gray,
|
color=ps.white,
|
||||||
alpha=0.5)
|
alpha=0.3)
|
||||||
|
|
||||||
ax[i].plot(kde_time, np.median(loser_offsets_boot[-1], axis=0),
|
ax[i].plot(kde_time, np.median(loser_offsets_boot[-1], axis=0),
|
||||||
color=ps.black, linewidth=2)
|
color=ps.black, linewidth=2)
|
||||||
|
|
||||||
# ax[i].fill_between(
|
ax[i].axvline(0, color=ps.gray, linestyle='--')
|
||||||
# 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].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=(
|
# fig, ax = plt.subplots(2, 3, figsize=(
|
||||||
# 21*ps.cm, 10*ps.cm), sharey=True, sharex=True)
|
# 21*ps.cm, 10*ps.cm), sharey=True, sharex=True)
|
||||||
@ -391,7 +393,6 @@ def main(dataroot):
|
|||||||
# color='black', linewidth=2)
|
# color='black', linewidth=2)
|
||||||
|
|
||||||
# ax[0, 0].set_xlim(-30, 30)
|
# ax[0, 0].set_xlim(-30, 30)
|
||||||
plt.show()
|
|
||||||
|
|
||||||
# winner_onsets = np.sort(flatten(winner_onsets))
|
# winner_onsets = np.sort(flatten(winner_onsets))
|
||||||
# winner_offsets = np.sort(flatten(winner_offsets))
|
# winner_offsets = np.sort(flatten(winner_offsets))
|
||||||
@ -519,7 +520,7 @@ def main(dataroot):
|
|||||||
# color=ps.gray,
|
# color=ps.gray,
|
||||||
# alpha=0.5)
|
# alpha=0.5)
|
||||||
|
|
||||||
# plt.show()
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -36,7 +36,7 @@ blockverticalspace=2mm, colspace=20mm, subcolspace=0mm]{tikzposter} %Default val
|
|||||||
\vspace{2cm}
|
\vspace{2cm}
|
||||||
\begin{tikzfigure}[]
|
\begin{tikzfigure}[]
|
||||||
\label{fig:alg2}
|
\label{fig:alg2}
|
||||||
\includegraphics[width=0.9\linewidth]{figs/algorithm}
|
\includegraphics[width=1\linewidth]{figs/algorithm}
|
||||||
\end{tikzfigure}
|
\end{tikzfigure}
|
||||||
\vspace{0cm}
|
\vspace{0cm}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user