Cylcoords2

Cylcoords2 - hold off mesh(x,y,3-6*z%plot verical cylinder...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%The following scrip is useful for plotting cylindrical surfaces. % %The example given plots the intersection of two cylinders from lecture % [x,y,z]=cylinder([1 1 1 1 1 1 1 1 1],20); %create cylinder
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: [ hold off; mesh(x,y,3-6*z); %plot verical cylinder hold on; surf(x,3-6*z,y); %plot horizontal cylinder axis([-3,3,-3,3,-3,3]);...
View Full Document

Ask a homework question - tutors are online