MATLAB:如何在每个级别上构建4d图 [英] MATLAB : How to build 4d plot per levels
本文介绍了MATLAB:如何在每个级别上构建4d图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要构建一个如图所示的图形,只需要在其他图的不同级别上进行显示.我发现了:
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));
我们是否可以S传输另一个图,例如contour()
,以得到不同级别的不同图形,如上所示?如果可以,怎么办?
Can we instead S transmit another plot for example contour()
, to get different graphs at different levels as shown above? And if so, how?
推荐答案
从您自己的链接中推断:
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);
这篇关于MATLAB:如何在每个级别上构建4d图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文