Lecture 40 3_Dimensional_Plot

Demonstrate your work during the class to get the credit. If you can't get it done, you still have a chance to work it in the next class or you can checkout a board to work on it afterwards. 

Instructions:

                                                 


Tasks: (25 points for each)
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: