
wd = 16;

figure(1)
clf
set(gcf,'renderer','painters');

p1=plot(d,q,'r-');
set(p1,'linewidth',2);
hold on;

set(gca, 'XTick',0:0.25:1);
set(gca, 'YTick',0.2:0.2:1.2);
set(gca, 'fontsize', wd);
axis([0 1 0.2 1.2]);
l1=title([ 'Scatter Plot of Height at t = ', num2str(t)]);
set(l1, 'fontsize', wd);
set(gca, 'fontsize', wd);
grid off; box on; axis on;

hold off;