% PLot the results of Deconv10_B111_comp.m
%
% Samuli Siltanen, October 2015

% Parameters for controlling the plot
lwidth = 1;
fsize  = 20;
msize  = 6;

% Load precomputed stuff
load DC9_Besov111 x recn W

% Create a plot window
figure(1)
clf

% Construct original signal for comparison
xx = linspace(0,1,1024);
signal = DC_target(xx);

% Plot original signal
plot(xx,signal,'k','linewidth',lwidth)
hold on

% Plot reconstruction
plot(x,recn,'r','linewidth',lwidth)

% Axis settings
axis([0 1 -.2 1.6])
set(gca,'xtick',[0 1/2 1],'fontsize',fsize)
set(gca,'ytick',[0 .5 1 1.5],'fontsize',fsize)
%set(gca,'xticklabel',{})
%set(gca,'yticklabel',{})
set(gca,'PlotBoxAspectRatio' , [2 1 1])
box off
