# AxesLabel a List, without braces

How can I use a list of variables (possibly subscripted) as an AxesLabel without showing the braces.

For example,

Plot[{x, x^2}, {x, 0, 1}, AxesLabel -> {x, {Subscript[y, 1], Subscript[y, 2]}}] would look the same, just without the braces on the y-axis label.

Plot[{x, x^2}, {x, 0, 1},
AxesLabel -> {x, Row[{Subscript[y, 1], " ", Subscript[y, 2]}]}] • That was easy, thanks! My example might have been too minimal, in that I want it to work automatically for arbitrary length lists. Using Riffle takes care of that: Plot[{x, x^2, x^3}, {x, 0, 1}, AxesLabel -> {x, Row[Riffle[{Subscript[y, 1], Subscript[y, 2],Subscript[y, 3]}, ", "]]}] – Chris K Sep 10 '17 at 23:20

I propose a slightly different form of Row:

Row[list,s] inserts s as a separator between successive elements.

And as Carl Woll commented:

The front end has special handling for "," as the second argument of Row, so that it automatically adds space after the comma as long as the comma isn't the last character of a line.

labels = {Subscript[y, 1], Subscript[y, 2]};

Plot[{x, x^2}, {x, 0, 1}, AxesLabel -> {x, Row[labels, ","]}] • Slicker than my Riffle! – Chris K Sep 11 '17 at 0:40
• The front end has special handling for "," as the second argument of Row, so that it automatically adds space after the comma as long as the comma isn't the last character of a line. So, I would recommend Row[labels, ","] instead. – Carl Woll Nov 15 '17 at 6:17
• @Carl Thanks for the usage tip! – Mr.Wizard Nov 15 '17 at 16:37

Another way：

Plot[{x, x^2}, {x, 0, 1},
AxesLabel -> {x, HoldForm[Subscript[y, 1] Subscript[y, 2]]}]


or

Plot[{x, x^2}, {x, 0, 1},
AxesLabel -> {x,
Graphics[{Text[
HoldForm[Subscript[y, 1](*","*)Subscript[y, 2]], {0, 1}]},
ImageSize -> 35]}]