Saving a plot as png 224*224*3 image
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have generated a plot in Matlab as shown in figure.When i save it using 'saveas(gcf,'im1.png')' , it is saved as a 656*875*3 png image.I want to save it as 224*224*3 png image without the axis titles,labelling and colorbar.i.e.only the actual plot.Can anyone kindly guide on it?
guide about
Thanks
2 commentaires
KALYAN ACHARJYA
le 17 Fév 2021
Modifié(e) : KALYAN ACHARJYA
le 17 Fév 2021
Can you share plot details?
Réponses (1)
Rik
le 17 Fév 2021
You can do three things:
- Don't create your image as a plot, but as an image.
- Crop the image down to the location of your axes object.
- Use export_fig.
14 commentaires
Voir également
Catégories
En savoir plus sur Image Processing Toolbox 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!