Graphics Reference
In-Depth Information
Figure 4-5.
camlight adds a light, just like a camera shoot. camlight with no parameters is the same as camlight right,
which places the light above and to the right of the camera. Without this, the image would be much more yellow and
orange and the vertical surface on the left would be much harder to perceive.
Note
Below is code to show a representation on a plane (Figure 4-6 ).
>> load wind
k = 4;
x = x(:,:,k); y = y(:,:,k); u = u(:,:,k); v = v(:,:,k);
cav = curl(x,y,u,v);
pcolor(x,y,cav); shading interp
hold on;
quiver(x,y,u,v,'y')
hold off
colormap copper
Figure 4-6.
 
Search WWH ::




Custom Search