How can I extract the legend from the following plot?
fm[name_String, size_ : 8] :=
ResourceFunction["PolygonMarker"][name, Offset[size], EdgeForm[]];
ListPlot[
Table[Accumulate@RandomReal[1, 10] + i, {i, 6}],
PlotMarkers ->
fm /@ {"Triangle", "Y", "Diamond", "ThreePointedStar",
"FivePointedStarSlim", "TripleCross"},
Joined -> True,
PlotStyle -> ColorData[52, "ColorList"],
PlotLegends ->
PointLegend[
Automatic, LegendMarkerSize -> {50, 37},
LegendLayout -> (Column[Row /@ #, Spacings -> -1] &)],
ImageSize -> 450]
This doesn't work. I want to obtain only the legend.
PointLegend[Automatic, LegendMarkerSize -> {50, 37},
LegendLayout -> (Column[Row /@ #,
Spacings -> -1] &)] /@ (fm /@ {"Triangle", "Y", "Diamond",
"ThreePointedStar", "FivePointedStarSlim", "TripleCross"})