I have a set of 3d coordinates in 3 arrays X
, Y
, Z
, and the temperature T
at each point. I want to plot the points as a point cloud, such that each point will have a color according to it's temperature. Something similar to how you can specify colors in trisurf
. How do I do that?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use SCATTER3 for that:
scatter3(X,Y,Z,12,T);