Plotting 3D plot with 3 variables
Afficher commentaires plus anciens
I have three variables (let's call them x, y, and z), and x and y represent coordinates while z is a value that correlates to the 'strength' of a single point. I wanted to plot a 3D graph where every single point is plotted according to it's respective x and y value, while have a color scheme that shows which point possesses the greatest 'z' value (sort of like a heat map). Is it possible to do this?
Réponses (1)
Star Strider
le 19 Fév 2016
0 votes
Not certain what you want to do. I would experiment with the scatter3 function.
2 commentaires
Star Strider
le 19 Fév 2016
Look through the scatter3 documentation. You can change the sizes and colours of the markers as you wish.
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!