[likelihood] fixed plot

This commit is contained in:
Jan Benda 2019-12-16 15:53:52 +01:00
parent de7c3dfd10
commit d64734a04e
3 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,8 @@
\input{../../header} \input{../../header}
\renewcommand{\exercisesolutions}{here} % 0: here, 1: chapter, 2: end
\lstset{inputpath=../code} \lstset{inputpath=../code}
\graphicspath{{figures/}} \graphicspath{{figures/}}

View File

@ -77,7 +77,7 @@ ax.set_xlim(0.0, np.pi)
ax.set_xticks(np.arange(0.125*np.pi, 1.*np.pi, 0.125*np.pi)) ax.set_xticks(np.arange(0.125*np.pi, 1.*np.pi, 0.125*np.pi))
ax.set_xticklabels([]) ax.set_xticklabels([])
ax.set_ylim(-1600, 0) ax.set_ylim(-1600, 0)
ax.set_xlabel('Orientiation') ax.set_xlabel('Orientation')
ax.text(-0.2, -800, 'Log-Likelihood', rotation='vertical', va='center') ax.text(-0.2, -800, 'Log-Likelihood', rotation='vertical', va='center')
ax.plot([0, 0], [-1600, 0], 'k', zorder=10, clip_on=False) ax.plot([0, 0], [-1600, 0], 'k', zorder=10, clip_on=False)
phases = np.linspace(0.0, 1.1*np.pi, 100) phases = np.linspace(0.0, 1.1*np.pi, 100)

View File

@ -2,6 +2,8 @@
\input{../../header} \input{../../header}
\renewcommand{\exercisesolutions}{here} % 0: here, 1: chapter, 2: end
\lstset{inputpath=../code} \lstset{inputpath=../code}
\graphicspath{{figures/}} \graphicspath{{figures/}}