Hot answers tagged

1

Use Show instead of Epilog to add on the rectangles, and the legend will stay on top. Show[ ListDensityPlot[..., PlotLegends -> ...] Graphics[{...}] ]


1

To format the plot legend you will have to go beyond PlotLegends -> Automatic. Here is an example of a formatted plot legend. VectorDensityPlot[{x, -y}, {x, -5, 5}, {y, -5, 5}, PlotLegends -> BarLegend[Automatic, LegendLabel -> "Cooper Std", LabelStyle -> {Bold, 16, FontFamily -> "Cooper Std"}]]



Only top voted, non community-wiki answers of a minimum length are eligible