How to shift pcolor plot upwards on a 3d scatter plot?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anuj Rekhy
le 7 Fév 2017
Modifié(e) : Anuj Rekhy
le 3 Mar 2017
I have created a 3D scatter plot and I want my pcolor plot at a location at some height for the z axis. But I can only see it on the XY plane with no shift in Z axis possible. Could anyone suggest a method to shift the pcolor plot to any location along the z axis?
0 commentaires
Réponse acceptée
Walter Roberson
le 7 Fév 2017
In R2014b and later,
h = pcolor(....);
h.ZData = TheConstantZ + h.ZData; %it starts out all 0 of the right size so adding gets a constant of the right size
0 commentaires
Plus de réponses (1)
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!