% Plot the results of deconv1_cont_comp.m
%
% Samuli Siltanen January 2015

% Parameters for controlling the plot
lwidth = 1;
fsize  = 12;

% Load precomputed stuff
load data/deconv1_cont Nt t psi Nx x convres a

% Create a plot window
figure(1)
clf

% Plot target and convolution result
subplot(2,1,1)
plot(x,target1(x),'k','linewidth',lwidth)
hold on
plot(x,convres,'r','linewidth',lwidth)
axis([0 1 0 1.1])

% Plot point spread function
subplot(2,1,2)
plot(t,psi,'b')
xlim([-.5 .5])
