How to edit .fig (already saved image) in MATLAB?
99 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have .fig files and loaded in MATLAB by using openfig as shown in below figure. I want to edit these .fig files, for example, want to plot (above and below panels as (a) and (b)), want to bold title and axis, re-size the images. After making one figure I want to save it as high resolution image by using print('------'). How can I do it?
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1272670/image.png)
0 commentaires
Réponses (1)
Fangjun Jiang
le 24 Jan 2023
Modifié(e) : Fangjun Jiang
le 24 Jan 2023
run "findobj(figld)" and you will see a list of objects.
The general idea is to use findobj() to find the handles of the needed objects and then modify the properties of the object.
lines=findobj(figld,'type','line')
get(lines(1))
2 commentaires
Fangjun Jiang
le 24 Jan 2023
You've had the code that you showed. Run those, and then run the code that I showed. You will see the results and go from there.
Voir également
Catégories
En savoir plus sur Printing and Saving 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!