I have a grid of density plots, for example like this toy example
plots = Table[DensityPlot[Cos[2 \[Pi] (n x^2 + m y^2)], {x, -1, 1}, {y, -1, 1}, ImageSize -> 150, PlotPoints -> 20], {n, -2, 2}, {m, -2, 2}];
plotgrid = Grid[plots, Frame -> All]
I want to add axes on top of the grid so it looks something like this
The problem is that the Grid
is not a Graphics
object, so my naive attempt didn't work, e.g. this gives an error:
Show[plotgrid, Graphics@Arrow@{Scaled[{-0.1, 0.5}], Scaled[{1.1, 0.5}]}]
Is there some simple way to treat the entire Grid
object as a graphics object, or other solution to drawing axes or other Graphics
objects on top of the Grid
?
Grid
,GraphicsGrid
returns a graphics object. $\endgroup$GraphicsGrid
has a known bug where it doesn't play nicely withPlotLegends
:( $\endgroup$