afterframe.m.html | |
Source file: afterframe.m | |
Directory: /home/rjl/git/rjleveque/clawpack-4.x/book/chap6/wavepacket | |
Converted: Tue Jul 26 2011 at 12:59:02 using clawcode2html | |
This documentation file will not reflect any later changes in the source file. |
% shift qtrue to proper position to plot, taking into account periodic BCs: ntrue = length(qtrue); qt2 = [qtrue;qtrue]; i1 = ntrue - floor((t-floor(t))*ntrue); hold on plot(xtrue,qt2(i1+1:i1+ntrue)) axis([0 1 -1 1.5]) hold off