consulting 3D graph
Afficher commentaires plus anciens
Hi
I have a question about consulting a 3D graph design
I have in my data:
- Samples
- Frequency axis
- And the amplitude by sampling for freq
How would you present this data in a three-dimensional graph
Functions like surf are irrelevant because the Z axis does not depend on X&Y
Z is a known value
tnx :)
Example

5 commentaires
Rik
le 13 Nov 2020
What kind of plot do you want? A scatterplot?
Bjorn Gustavsson
le 13 Nov 2020
What you have presented is data Z with size [32 x 7] at 7 frequencies and 32 "samples", in a plaid frequency-sample grid. For that surf is a reasonably suitable function to illustrate the data, as is pcolor (except for the fact that the last row and column disappears). You could also use scatter, (or plot3).
Unless you can explain why surf is "irrelevant".
Shahar ben ezra
le 13 Nov 2020
Rik
le 13 Nov 2020
You don't need to do that, it is just a way in which you can create some example data. You can just use the actual Z values.
Shahar ben ezra
le 13 Nov 2020
Modifié(e) : Shahar ben ezra
le 13 Nov 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Distribution 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!



