I'm trying to use Graphics Column to add a label under my plots. Eventually these individual columns will be combined in a grid, and I want the height of each plot to be the same so I can compare data easily. My problem is this: when the column ImageSize is such that the bottom label is multi line, it doesn't display properly. Can I tell Graphics Column to be sure to add enough room that all of the text can be seen?
Examples: This code cuts off the label text at the bottom:
toPlot = {{{1, 0.024017467248908332`}, {1,
0.`}, {1, -0.07205240174672484`}}, {{2,
0.048034934497816664`}, {2, 0.09170305676855903`}, {2,
0.06986899563318784`}}, {{3, 0.2227074235807861`}, {3,
0.13537117903930138`}, {3, 0.13537117903930138`}}};
dataSetList = {"data set #1 is called a", "data set #2 is called b",
"data set #3 is called c"};
GraphicsColumn[{ListPlot[toPlot,
Frame -> True,
PlotLabel -> "This is the label for the plot"
],
Style[StringJoin["Data sets included: ",
StringRiffle[dataSetList, ", "]], "SmallText"]},
ImageSize -> Medium,
Frame -> True]
Same code, force the ImageSize to Large, and it works as desired:
toPlot = {{{1, 0.024017467248908332`}, {1,
0.`}, {1, -0.07205240174672484`}}, {{2,
0.048034934497816664`}, {2, 0.09170305676855903`}, {2,
0.06986899563318784`}}, {{3, 0.2227074235807861`}, {3,
0.13537117903930138`}, {3, 0.13537117903930138`}}};
dataSetList = {"data set #1 is called a", "data set #2 is called b",
"data set #3 is called c"};
GraphicsColumn[{ListPlot[toPlot,
Frame -> True,
PlotLabel -> "This is the label for the plot"
],
Style[StringJoin["Data sets included: ",
StringRiffle[dataSetList, ", "]], "SmallText"]},
ImageSize -> Large,
Frame -> True]
Thank you for any advice!