I would like to arrange the density plots in a certain order using GraphicsGrid. But when using GraphicsGrid, there is problem with the color scale, it doesn't display completely. How should GraphicsGrid be written so that the color scales of the density plots are displayed correctly?
ClearAll["Global`*"]
f[B_] := B*(r^2 + z^2)*Sin[z]^2;
ff = Table[
DensityPlot[f[B], {r, 0, 10}, {z, -5, 5}, FrameLabel -> {r, z},
PlotLabel -> StringForm["B = ``", B],
ColorFunction -> "SunsetColors", PlotPoints -> 250,
PlotLegends -> Automatic, ImageSize -> 200], {B, {0, 5, 10, 25}}]
GraphicsGrid[{{ff[[1]], ff[[3]]}, {ff[[2]], ff[[4]]}}]
ImageSize -> 550
to theGraphicsGrid
or useGrid
instead ofGraphicsGrid
$\endgroup$