![untitled.bmp](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223657/untitled.bmp)
4次元表示したいです。
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
3次元+温度表示の4次元データを作成したいです。
下の画像のように中心から外側にいくにつれて温度が低くなっているのを
4次元座標での表示をしたいです。
どのような方法で中心から外側に行くにつれて温度が低くなっているのを
4次元表示できますでしょうか?
教えてください。
![無題.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223647/image.png)
0 Commenti
Risposte (1)
Yoshio
il 8 Giu 2019
Modificato: Yoshio
il 8 Giu 2019
こんな感じではいかがでしょうか?
EPSO=8.854214871e-12;
CHARGE=1.6021918e-19;
x=-0.1:0.0025:0.1;
y = x;
z = x;
[X,Y,Z] = meshgrid(x,y,z);
u0=4.0*pi*EPSO*sqrt(X.^2+Y.^2+Z.^2+eps);
u=CHARGE*u0.^-1;
V = log(u);
xslice = [0,0.1]; yslice = [0.0,0.1]; zslice = [-0.1,0];
h = slice(X,Y,Z,V,xslice,yslice,zslice);
xlabel('X');ylabel('Y');zlabel('Z');
caxis([min(V(:)) -16.2])
axis equal
set(h,'EdgeColor','none','FaceColor','interp',...
'FaceAlpha','interp')
alpha('color')
alphamap('increase',.3)
rotate3d
![untitled.bmp](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223657/untitled.bmp)
5 Commenti
Vedere anche
Categorie
Scopri di più su 評価 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!