consulting 3D graph
1 view (last 30 days)
Show older comments
Shahar ben ezra
on 13 Nov 2020
Commented: Shahar ben ezra
on 13 Nov 2020
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
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.
Accepted Answer
Cris LaPierre
on 13 Nov 2020
Edited: Cris LaPierre
on 13 Nov 2020
I think the natural choice here is a spectrogram. Samples go along one axis, frequency along the other, and color is used to convey power. Look at some of the examples on the linked page.
6 Comments
Cris LaPierre
on 13 Nov 2020
Edited: Cris LaPierre
on 13 Nov 2020
The best way to explore plotting options is to select the variable in your workspace, then open the Plots tab. All possible options for that variable will be displayed. Expand the list to see them all. Find one you like and select it.
More Answers (0)
See Also
Categories
Find more on Blue 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!