1
$\begingroup$

I plan to align several array plots with labels at the top of each property. However, when I use GraphicsGrid[] function, the label becomes repositioned, and the labels are away from the plot, which makes it confusing. Is there any way to circumvent this behavior?

Example:

a = Table[
  ArrayPlot[RandomReal[{0, 1}, {5, 5}], 
   PlotLabel -> "Test"], {3}, {3}]

returns plots with appropriate labels, but

GraphicsGrid[a]

returns plots in which plot labels are shifted upward, and relationship between the labels and plots are less clear.

Thank you very much in advance.

Takashi.

$\endgroup$

1 Answer 1

4
$\begingroup$
  • Grid work for this cases.
Grid[a]

enter image description here

  • or Alignment -> Top.
GraphicsGrid[a, Alignment -> Top]

enter image description here

$\endgroup$
1
  • $\begingroup$ It worked! Thank you very much!! $\endgroup$ Oct 4, 2022 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.