3次元点プロットをx,yの2次元平面とカラーマップで表現したい
120 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
翔 池田
le 28 Sep 2021
Réponse apportée : Hernia Baby
le 28 Sep 2021
x=repmat(1:5,1,5);
y=(1:5)'.*ones(1,5);
y=reshape(y',1,size(x,2));
z=randi([1 10],1,size(x,2));
plot3(x,y,z,'.')
上図のような3Dプロットを
x,y平面にして,zの値をメッシュ状のカラーマップを用いてた2次元表記にしたいのですが,可能でしょうか.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Scatter Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!