More pagebreak fixing
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
clear all
|
||||
close all
|
||||
|
||||
load('pyramidal_response.mat')
|
||||
threshold = 20; % mV
|
||||
|
||||
figure()
|
||||
hold on
|
||||
plot(time*1000.0, neuronal_data, 'color', [0.2 0.5 0.7], 'linewidth', 1., ...
|
||||
'displayname', 'Membrane voltage')
|
||||
plot(spikes*1000.0, ones(size(spikes)) .* threshold, 'r.', 'markersize', 15, ...
|
||||
'displayname', 'Spike times')
|
||||
plot(time*1000.0, neuronal_data, 'color', [0.2 0.5 0.7], ...
|
||||
'linewidth', 1., 'displayname', 'Membrane voltage')
|
||||
plot(spikes*1000.0, ones(size(spikes)) .* threshold, 'r.', ...
|
||||
'markersize', 15, 'displayname', 'Spike times')
|
||||
line([time(1) time(end)], [threshold threshold], 'linestyle', '--', ...
|
||||
'linewidth', 0.75, 'color', [0.5 0.5 0.5], 'displayname', 'Threshold')
|
||||
|
||||
@@ -24,7 +20,7 @@ set(l,'location','northeast', 'fontsize', 11, 'linewidth', 1.);
|
||||
set(gca, 'xminortick','on','yminortick','on')
|
||||
set(gca, 'tickdir','out', 'linewidth', 1.5, 'fontname', 'times', ...
|
||||
'fontsize', 11)
|
||||
set(gcf, 'paperunits', 'centimeters', 'papersize', [15 7.5]);
|
||||
set(gcf, 'paperposition',[0.0 0.0 15, 7.5], 'color', 'white')
|
||||
set(gcf, 'paperunits', 'centimeters', 'papersize', [15 7]);
|
||||
set(gcf, 'paperposition',[0.0 0.0 15, 7], 'color', 'white')
|
||||
|
||||
saveas(gcf, [pwd '/../lecture/images/spike_detection.pdf'], 'pdf')
|
||||
saveas(gcf, 'spike_detection.pdf', 'pdf')
|
||||
Reference in New Issue
Block a user