User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gibson:teaching:fall-2014:math445:lecture16-diary [2014/11/18 07:25]
gibson [surf, surfc]
gibson:teaching:fall-2014:math445:lecture16-diary [2014/11/18 07:25] (current)
gibson [surf, surfc]
Line 118: Line 118:
-% quiver plot 
-% used to show vector fields 
-load y.asc 
-load x.asc 
-load vx.asc 
-load vy.asc 
-quiver(x,​y,​vx,​vy); ​ 
-axis equal 
-axis tight 
-xlabel('​x'​);​ ylabel('​y'​);​ 
-title('​vector field vx,vy over plane x,y') 
-% subplots 
-% make an array of plots within a figure window 
-subplot(2,​2,​1) % 1st subplot in 2 x 2 array 
-axis equal 
-axis tight 
-subplot(2,​2,​2) % 2nd subplot in 2 x 2 array 
-surfc(X,​Y,​Z,​C);​ axis equal 
-subplot(2,​2,​3) % 2nd subplot in 2 x 2 array 
-surf(X,​Y,​Z,​Z);​ axis equal 
-subplot(2,​2,​4) % 4th 
-x = linspace(0,​pi,​20);​ 
gibson/teaching/fall-2014/math445/lecture16-diary.txt ยท Last modified: 2014/11/18 07:25 by gibson