- Collect the x,y,z points
- Use the surf function to create the 3D plot
- Set colormap
- Use "hold on" to add inset plot in the same figure
- Add labels for the plot
- Create inset plot
- Set axis limit and aspect ratio

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!