How to increase the plot area and reduce the chart area
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have figure which has to exported to word but when it is exported to word, it has large chat area and less plot area. I am required with a figure a of particular size from matlab to be expoted to word with large plot area and less chart area.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/598970/image.jpeg)
3 Kommentare
DGM
am 27 Apr. 2021
I still don't know how you're making the plot or exporting it. If you're using tiledlayout, you can set 'padding' to 'tight','compact',' or 'none' (depending on your version). That will reduce the padding. Disregarding ML figure setup, any raster image should be able to be cropped in Word anyway.
Scott MacKenzie
am 27 Apr. 2021
Personally, I wouldn't spent too much time wrestling with MATLAB on this.
Once you've got a figure you like in MATLAB, just manually crop it with a screen snip tool (with margins as tight as you wish), save the cropped image in a JPEG file, then insert that image into the MS/Word file.
Of course, you don't even need to save the cropped image: Just use a screen snip tool to drag through the portion of the image you want, then paste it into the MS/Word file.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Printing and Saving finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!