artGallery

# artGallery - %observed at an elevation of 90 degrees...

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

function artGallery(x,y,z) %Given x, y, and z data, makes %four different plots of the data in the same window (you will need to %utilize subplot). The first plot needs to be observed at an elevation %of 90 degress. The second plot needs to be viewed at a horizontal %azimuth of 90 degrees. The axis for the third plot needs to be as tight %as possible, and the axis for the fourth plot needs to be as square as %possible. See the given example plots. %usage: artGallery(x,y,z) plot3(x,y,z); %creates the 3D plot with the given coordinates subplot(2,2,1); %creates a 2x2 subplot space with the plot above in the 1st position plot3(x,y,z); %creates the 3D plot with the given coordinates view(0,90);
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %observed at an elevation of 90 degrees subplot(2,2,2); %creates a 2x2 subplot space with the plot above in the 2nd position plot3(x,y,z); %creates the 3D plot with the given coordinates view(90,0); %observed at a horizontal azimuth of 90 degrees subplot(2,2,3); %creates a 2x2 subplot space with the plot above in the 3rd position plot3(x,y,z); %creates the 3D plot with the given coordinates axis tight; %uses axis function to tighten the axes subplot(2,2,4); %creates a 2x2 subplot space with the plot above in the 4th position plot3(x,y,z); %creates the 3D plot with the given coordinates axis square; %uses the axis function to make the axes equal in length end...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern