Clear Filters
Clear Filters

How to increase the plot area and reduce the chart area

2 views (last 30 days)
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.
  3 Comments
DGM
DGM on 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
Scott MacKenzie on 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.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!