Given this plot:
ListLinePlot[
{
berea[[All, {1, 2}]]
, beryl[[All, {1, 2}]]
, graphite[[All, {1, 2}]]
, nb[[All, {1, 2}]]
, nu0[[All, {1, 2}]]
, nunim[[All, {1, 2}]]
}
, Filling -> {5 -> {6}}
, Frame -> True
, FrameLabel -> {
"!(*SubscriptBox[\"a\", \" \ \"])/!(*SubscriptBox[\"b\", \" \"])", "[Chi]/!(*SuperscriptBox[\"[Chi]\", \"*\"])"
}
, RotateLabel -> False
, PlotStyle -> {{Dotted, Red}, Black,
Dashed, {DotDashed, Thick}, {Black, Thick}, {Black, Thick}}
, PerformanceGoal -> "Quality"
, PlotLegend -> {"Berea sandstone", "Beryl rock", "Graphite/epoxy", "Nb !(*SubscriptBox[\"Se\", \"2\"])", "[Nu]=0", "[Nu]=0.5"}
, LegendShadow -> None
, LegendPosition -> {-0.75, -0.225}
, LegendBorder -> White
, LegendBorderSpace -> Automatic
, LegendTextSpace -> 3.25
, LegendSpacing -> 0.1
]
How can I change the spacing of lines in the legend?
How to make the legend elements to be near to each other?
LegendSpacing -> 0.1
and you got that spacing. If you want the legends closer together use a smaller value, say, .05 $\endgroup$Show
command. Furthermore, there are around 12 curves and when I do the solution suggested by Verbeia, the legends appear in two columns while there is enough space to put them into one. By the way, whySpacings
turns into red while using it inLineLegend
? $\endgroup$