I'm probably missing something obvious here, but I haven't been able to figure out how to get the Mathematica function Labeled
to print an expression with a left-justified label on top of it. The Help page for Labeled
says that
Labeled[expr, lbl, pos] places lbl at a position specified by pos
and that pos
may have the form {side, align}
, in which case the label appears "on the specified side with the specified alignment." It then says that side
may be either Left
, Right
, Top
, or Bottom
, while align
may be either Center
, Left
, Right
, Top
, or Bottom
. Although it's possible that I've misinterpreted this, I would have thought that the following code would thus place the label "Foo" left-justified on top of the expression {a, b, c, d}
:
Labeled[
Framed[ {a, b, c, d} ],
"Foo",
{Top, Left}
]
The above code, though, places the label "Foo" centered on top of the expression {a, b, c, d}
. Any idea what's going on here?