How to save spectrogram?
15 views (last 30 days)
Show older comments
Kindly tell me, how I can save the spectrogram without any labels, ticks or surrounding frame area as a JPEG image in my hard drive?
3 Comments
Accepted Answer
Rik
on 21 Aug 2022
You can do the work yourself (as the axes contains a Position property from which you can determine what you need to crop), but the export_fig function from Yair Altman is probably what you need.
It should be able to export a screenshot of only the axes itself.
Otherwise, you could try digging in the properties to see if there is a CData property you could export directly (which would be the raw underlying data).
6 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!