how to crop figures from excess white area
Mostra commenti meno recenti
i have a wind rose figure (see attachment) and I'm trying to get rid of white space around image. Preferably to control how there is white space around given image. If I try to fiddle with figure property inspector, it just resizes image and wont reduce excess space.
basically, I want able to crop image like this:

Risposta accettata
Più risposte (1)
William Rose
il 10 Nov 2023
1 voto
@Sven Larsen, One can reduce the whitespace by clicking and dragging the edgesof the image window so that it more closely matches the aspect ratio of the contents. With this approach I was able to get the attached result, saving the image as a .fig file. It is still not as tight as you would like. To reduce the whitespace more, I would save it in a different format, such as bmp, then use an external editor to crop as desired. See attached.
3 Commenti
Sven Larsen
il 12 Nov 2023
Dyuman Joshi
il 12 Nov 2023
@Sven Larsen, Could you share the code that produces this figure?
Sven Larsen
il 12 Nov 2023
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


