12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

camlightExamplesThis example creates a light positioned to the left of the camera and thenrepositions the light each time the camera is moved:surf(peaks)axis vis3dh = camlight(‘left’);for i = 1:20;camorbit(10,0)camlight(h, ‘left’)drawnow;end2-54

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

Saved successfully!

Ooh no, something went wrong!