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!



