MATLAB : How to build 4d plot per levels

丶灬走出姿态 提交于 2020-01-24 04:58:26

问题


I need to build a graph as shown, only need to be displayed at different levels of other plots. I found this:

m = 10;
n = 25;
d = 4;
S = rand([m,n,d]);
slice(S, [], [], 1:size(S,3));

Can we instead S transmit another plot for example contour(), to get different graphs at different levels as shown above? And if so, how?


回答1:


Inferring from your own link:

m = 10;
n = 25;
d = 4;
S = rand([m,n,d]);
contourslice(S, [], [], 1:size(S,3),10);
view(3);


来源:https://stackoverflow.com/questions/15088055/matlab-how-to-build-4d-plot-per-levels

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!