Clear Filters
Clear Filters

How to control white space in figures in presence of text?

2 views (last 30 days)
My main issue is in including graphs in a two-column article where space is very limited and white space around figure is to be minimized as far as possible. (I am trying to find an automated solution. I am aware of "trim" option of 'includegraphics' in LaTeX.)
I have seen the solution offered in Minimal White Space but it appears that any text that is placed on the figure is not taken into account during the creation of the tight box.
So a piece of code as in
could end up placing a letter G at position (x,y) but outside the box containing the figure.
I am looking for a code that will create a white box of a certain width H around the figure AND the texts placed on it.

Answers (0)


Find more on Printing and Saving 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!