Added ylim([0,1000]) for lwap plot function