I want to produce a stand-alone PointLegend for a bunch of plots which I generated. Unfortunately, the markers are slightly off-axis. I have applied all the options discussed here, which did improve things, but not to perfection. Let me demonstrate the issue:
layout[pairs_] :=
Row[Map[Row[{Pane[#[[1]], BaselinePosition -> Center],
Pane[#[[2]], BaselinePosition -> Center]},
Alignment -> {Center, Center}, Frame -> True] &, pairs, 1]]
p = PointLegend[
"DefaultPlotStyle" /. (Method /.
Charting`ResolvePlotTheme[Automatic, ListPlot]), Range[5],
LegendMarkers -> {Automatic, Large}, LegendLayout -> layout,
LegendFunction -> "Frame",
LabelStyle -> {FontFamily -> "Arial", FontSize -> 20},
Alignment -> Center]
The diamond at item 3 is too low and the square at item 2 is too high. Here a screenshot with a horizontal ruler to prove the shift:
It takes a while to really see what is wrong but one immediately realizes that things are not well aligned. I don't think this can be used in a presentation.
Are there any mode options to force a true centering of the markers?







