tt = 0:round(length(t)*.16)/(length(g) - 1):round(length(t)*.16); plot(tt,g) titl = ['Raw Signal - ' filename]; title(titl) xlabel('Time (microsec)') axis([0 round(length(t)*.16) min(g) max(g)]) set(gcf, 'Position', [50 25 400 350])