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?


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

returns plots with appropriate labels, but


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.



1 Answer 1

  • Grid work for this cases.

enter image description here

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

enter image description here

  • $\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.