Lecture 35 3_Dimensional_Plot

Instructions:

   

   

   

   

   

   

   

   

   




Tasks:
1) Try the following plots. In example 2, do not use mesh() and surf() at the same time. Do mesh() and surf() separately and compare the results.


2) x and y has the same range: -8:0.5:8. Plot Z using surf().


3) The color gradient of the surface can be modified using different style. Try 'Spring' and 'Winter' style separately. (uncomment the color patterns)


4) You can plot the contour only using the following code:


More color patterns:



Submit the '.m' file to the email, due Monday.