how to crop figures from excess white area
Ältere Kommentare anzeigen
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:

Akzeptierte Antwort
Weitere Antworten (1)
William Rose
am 10 Nov. 2023
1 Stimme
@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 Kommentare
Sven Larsen
am 12 Nov. 2023
Dyuman Joshi
am 12 Nov. 2023
@Sven Larsen, Could you share the code that produces this figure?
Sven Larsen
am 12 Nov. 2023
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


