Effacer les filtres
Effacer les filtres

How to extract a matrix from a .fig in Matlab?

8 vues (au cours des 30 derniers jours)
Sachin Nag
Sachin Nag le 21 Avr 2017
I have a Matlab .fig file. (Basically a pcolor plot). I want to extract the matrix (like rows and columns into an array variable) from this image. How do I do this? Thanks for any inputs or pointers.

Réponses (1)

Image Analyst
Image Analyst le 21 Avr 2017
Use getimage() or getframe() depending on what you want to do. Or you can use export_fig to export the whole axes or figure to an image file, like a .PNG file.

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by