consulting 3D graph
Show older comments
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 Comments
Rik
on 13 Nov 2020
What kind of plot do you want? A scatterplot?
Bjorn Gustavsson
on 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
on 13 Nov 2020
Rik
on 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
on 13 Nov 2020
Edited: Shahar ben ezra
on 13 Nov 2020
Accepted Answer
More Answers (0)
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


