>> [x,t,N]=AdvDiff1D(10, -1, -.1,10,12,0.5, 0.25); sigma=-0.1, lambda=0.5 >> whos Name Size Bytes Class N 19x49 7448 double array t 1x49 392 double array x 19x1 152 double array Grand total is 999 elements using 7992 bytes >> plot(x,N(:,1)) >> plot(x,N) >> h=colortime(x,t,N,[0 1 0], [0.5 0.5 0.7]) h = 150.0002 3.0022 102.0010 103.0006 104.0006 105.0006 106.0005 107.0004 108.0004 109.0004 110.0004 111.0004 112.0004 113.0004 114.0004 115.0004 116.0004 117.0004 118.0004 119.0004 120.0004 121.0004 122.0004 123.0004 124.0004 125.0004 126.0004 127.0004 128.0004 129.0004 130.0004 131.0004 132.0004 133.0004 134.0004 135.0004 136.0004 137.0004 138.0004 139.0004 140.0004 141.0004 142.0004 143.0004 144.0004 145.0004 146.0004 147.0004 148.0004 >> get(h(1)) Color = [0 1 0] EraseMode = normal LineStyle = - LineWidth = [0.5] Marker = none MarkerSize = [6] MarkerEdgeColor = auto MarkerFaceColor = none XData = [ (1 by 19) double array] YData = [ (1 by 19) double array] ZData = [] BeingDeleted = off ButtonDownFcn = Children = [] Clipping = on CreateFcn = DeleteFcn = BusyAction = queue HandleVisibility = on HitTest = on Interruptible = on Parent = [101.001] Selected = off SelectionHighlight = on Tag = Type = line UIContextMenu = [] UserData = [] Visible = on >> set(h,'linewidth',5) >> whos Name Size Bytes Class N 19x49 7448 double array h 49x1 392 double array t 1x49 392 double array x 19x1 152 double array Grand total is 1048 elements using 8384 bytes >> for j=1:6;subplot(3,2,j);plot(x,N(:,(j-1)*7+1);title(['Subplot ',int2str(j),', time=',num2str(t( (j-1)*7+1)]);end ??? for j=1:6;subplot(3,2,j);plot(x,N(:,(j-1)*7+1);title(['Subplot ',int2str(j),', time=',num2str(t( (j-1)*7+1)]);end | Error: ")" expected, ";" found. >> for j=1:6;subplot(3,2,j);plot(x,N(:,(j-1)*7+1));title(['Subplot ',int2str(j),??? for j=1:6;subplot(3,2,j);plot(x,N(:,(j-1)*7+1));title(['Subplot ',int2str(j),', time=',num2str(t( (j-1)*7+1)]);end | Error: ")" expected, "]" found. >> for j=1:6;subplot(3,2,j);plot(x,N(:,(j-1)*7+1));title(['Subplot ',int2str(j),', time=',num2str(t( (j-1)*7+1))]);end