I have two big figures which I'd like to fit on a page, above each other and including their captions. Unfortunately the caption of the bottom figure sticks out.
I have tried using the subfigure package to at least force them on one page, but then it is still necessary to tweak the settings manually using the width or height parameter of
which is inconvenient if either the figure or the caption changes. Are there any solutions automatically scaling the width parameter for everything to fit on the page?