Simple example
leg = {"Sin[a x]....", "Cos[x]....", "Tan[x].....", "Cot[x]....."};
Plot[{Sin[a x], Cos[x], Tan[x], Cot[x]}, {x, -Pi/2, Pi/2},PlotLegends -> Placed[leg, Below]]
shows a plot with plotlegend.
I would like to arrange the plotlegend in one row and tried to resize
leg = Map[Style[#, 5] &, {"Sin[a x]....", "Cos[x]....", "Tan[x].....", "Cot[x]....."}];
without success. The Legends still are arranged in a 2x2 grid!
How can I force the PlotLegend in one row?
Thanks!
PlotLegends -> Placed[LineLegend[leg, LegendLayout -> {"Row", 1}], Below]
is the answer! $\endgroup$ – Ulrich Neumann Dec 12 '18 at 11:14