MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何在Matlab上的(半)对数3d图上获得漂亮的色标? (https://www.labfans.com/bbs/showthread.php?t=22590)

poster 2019-12-10 16:49

如何在Matlab上的(半)对数3d图上获得漂亮的色标?
 
通过链接到[URL="http://www.mathworks.com/matlabcentral/newsreader/view_thread/239232"]外部站点[/URL]回答了[URL="https://stackoverflow.com/questions/433364/how-to-draw-semi-logarithmic-3d-plots-matlab"]这个问题[/URL]之后,我意识到我已经解决了一个问题,只是得到了另一个问题:在对数刻度上,MESH和SURF函数的C = Z参数不能很好地工作。您所获得的只是一张蓝色图形,没有通常的颜色渐变,只需通过3个参数即可获得。

如何还原?


回答:
您是否看过[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/caxis.html"][I]caxis[/I][/URL]命令?我还建议您查看表面句柄对象的[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/surface_props.html#CData"][I]CData[/I][/URL]和[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/surface_props.html#CDataMapping"][I]CDataMapping[/I][/URL]属性。我希望这些链接指向正确的方向。



[url=https://stackoverflow.com/questions/433769]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:23

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.