consulting 3D graph
显示 更早的评论
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 个评论
Rik
2020-11-13
What kind of plot do you want? A scatterplot?
Bjorn Gustavsson
2020-11-13
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
2020-11-13
Rik
2020-11-13
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
2020-11-13
编辑:Shahar ben ezra
2020-11-13
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



