23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examples This example creates a light positioned to the left of the camera and then<br />

repositions the light each time the camera is moved:<br />

surf(peaks)<br />

axis vis3d<br />

h = camlight('left');<br />

for i = 1:20;<br />

camorbit(10,0)<br />

camlight(h,'left')<br />

drawnow;<br />

end<br />

camlight<br />

2-191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!