这是一个如何在MATLAB®中产生均匀光照的例子。这种照明对观察多面的表面很好。
阅读MATLAB文档中的“light”和“lighting”函数。
更多的例子,去MATLAB Plot Gallery -//www.tatmou.com/discovery/gallery.html
引用作为
MathWorks Plot Gallery Team(2021)。MATLAB图库-改变照明到平面(//www.tatmou.com/matlabcentral/fileexchange/35239-matlab-plot-gallery-change-lighting-to-flat), MATLAB中央文件交换。检索.