From fd68462f986972fb55e5068e50ec2e58bff8ae0e Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Mon, 23 Nov 2015 17:35:08 +0100 Subject: [PATCH] increased font size --- plotting/lecture/plotting-chapter.tex | 4 ++-- pointprocesses/lecture/sta.py | 16 ++++++++-------- programming/lecture/programming-chapter.tex | 4 ++-- statistics/lecture/statistics-chapter.tex | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/plotting/lecture/plotting-chapter.tex b/plotting/lecture/plotting-chapter.tex index 80bde57..faab54e 100644 --- a/plotting/lecture/plotting-chapter.tex +++ b/plotting/lecture/plotting-chapter.tex @@ -5,8 +5,8 @@ \lstset{inputpath=../code} \graphicspath{{images/}} -\setcounter{page}{} -\setcounter{chapter}{-1} +\setcounter{page}{45} +\setcounter{chapter}{1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/pointprocesses/lecture/sta.py b/pointprocesses/lecture/sta.py index f41c06d..0e3c350 100644 --- a/pointprocesses/lecture/sta.py +++ b/pointprocesses/lecture/sta.py @@ -43,12 +43,12 @@ def plot_results(sta_time, st_average, stim_time, s_est, stimulus, duration, dt) fig = plt.gcf() fig.set_size_inches(15, 5) - fig.subplots_adjust(left=0.075, bottom=0.12, top=0.92, right=0.975) + fig.subplots_adjust(left=0.08, bottom=0.15, top=0.9, right=0.975) fig.set_facecolor("white") sta_ax.plot(sta_time * 1000, st_average, color="dodgerblue", lw=2.) - sta_ax.set_xlabel("time [ms]", fontsize=12) - sta_ax.set_ylabel("stimulus", fontsize=12) + sta_ax.set_xlabel("time [ms]", fontsize=20) + sta_ax.set_ylabel("stimulus", fontsize=20) sta_ax.set_xlim([-50, 50]) # sta_ax.xaxis.grid('off') sta_ax.spines["right"].set_visible(False) @@ -57,7 +57,7 @@ def plot_results(sta_time, st_average, stim_time, s_est, stimulus, duration, dt) sta_ax.xaxis.set_ticks_position('bottom') sta_ax.spines["bottom"].set_linewidth(2.0) sta_ax.spines["left"].set_linewidth(2.0) - sta_ax.tick_params(direction="out", width=2.0) + sta_ax.tick_params(direction="out", width=2.0, labelsize=18) ylim = sta_ax.get_ylim() xlim = sta_ax.get_xlim() @@ -65,11 +65,11 @@ def plot_results(sta_time, st_average, stim_time, s_est, stimulus, duration, dt) sta_ax.plot([0., 0.], list(ylim), zorder=1, color='darkgray', ls='--', lw=0.75) sta_ax.set_xlim(list(xlim)) sta_ax.set_ylim(list(ylim)) - sta_ax.text(-0.225, 1.05, "A", transform=sta_ax.transAxes, size=14) + sta_ax.text(-0.25, 1.04, "A", transform=sta_ax.transAxes, size=24) stim_ax.plot(stim_time * 1000, stimulus[:,1], label='stimulus', color='dodgerblue', lw=2.) stim_ax.plot(stim_time * 1000, s_est, label='reconstruction', color='red', lw=2) - stim_ax.set_xlabel('time[ms]', fontsize=12) + stim_ax.set_xlabel('time[ms]', fontsize=20) stim_ax.set_xlim([0.0, 250]) stim_ax.set_ylim([-1., 1.]) stim_ax.legend() @@ -80,8 +80,8 @@ def plot_results(sta_time, st_average, stim_time, s_est, stimulus, duration, dt) stim_ax.xaxis.set_ticks_position('bottom') stim_ax.spines["bottom"].set_linewidth(2.0) stim_ax.spines["left"].set_linewidth(2.0) - stim_ax.tick_params(direction="out", width=2.0) - stim_ax.text(-0.075, 1.05, "B", transform=stim_ax.transAxes, size=14) + stim_ax.tick_params(direction="out", width=2.0, labelsize=18) + stim_ax.text(-0.1, 1.04, "B", transform=stim_ax.transAxes, size=24) fig.savefig("sta.pdf") plt.close() diff --git a/programming/lecture/programming-chapter.tex b/programming/lecture/programming-chapter.tex index 1e78eb5..8eb19a1 100644 --- a/programming/lecture/programming-chapter.tex +++ b/programming/lecture/programming-chapter.tex @@ -5,8 +5,8 @@ \lstset{inputpath=../code} \graphicspath{{images/}} -\setcounter{page}{} -\setcounter{chapter}{-1} +\setcounter{page}{15} +\setcounter{chapter}{0} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/statistics/lecture/statistics-chapter.tex b/statistics/lecture/statistics-chapter.tex index 53faeda..ad93f38 100644 --- a/statistics/lecture/statistics-chapter.tex +++ b/statistics/lecture/statistics-chapter.tex @@ -5,8 +5,8 @@ \lstset{inputpath=../code} \graphicspath{{figures/}} -\setcounter{page}{} -\setcounter{chapter}{-1} +\setcounter{page}{69} +\setcounter{chapter}{3} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%