Holes in surfaces:
How do you create a hole in a surface plot, such that you can look though the hole?
A simple spiral in a 3D space:
Use two MATLAB statements (or less) to plot a simple spiral of radius 1 along the x-axis in a 3D space. The plot you generated should be as close as possible to the one shown next.
Use scatter data for plotting 3D surface:
What MATLAB command can use scatter data for plotting 3D surface?
True or indexed colors:
In the following plot, we use random colors to display the peaks surface. Can you tell which one uses true color for display? And which one uses indexed color for display?
True color and indexed color:
Please explain how MATLAB determine the color of a surface using the methods of "true color" and "indexed color". Also please comment on these two methods' strength and weakness, if any.
Display two surfaces using different colormaps:
How can you display two surfaces using different colormaps (as shown next)? Write a script to verify your idea. (Hint: you need to use the command "caxis".)
Plot a dome:
Create a plot of dome as follows. (Hint: you need to use the commands "cylinder" and "colorbar".)
漣漪曲面:
請寫一段 MATLAB 程式,產生類似「漣漪」的 3D 曲面,其中內圈的同心圓震幅要大,外圈同心圓的震幅則漸漸變小。(顏色及光照可以自行調整,以增加其美觀度。)
同心球:
請使用 sphere 指令取得 3D 球狀資料,並畫出兩個同心球,但你必須將外球「鏤空」一部份,以顯示內球。