Re: FrameLabel and Style
- To: mathgroup at smc.vnet.net
- Subject: [mg126867] Re: FrameLabel and Style
- From: Bob Hanlon <hanlonr357 at gmail.com>
- Date: Thu, 14 Jun 2012 05:32:17 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201206130856.EAA03721@smc.vnet.net>
Plot[x, {x, 0, 1},
Frame -> True,
Axes -> False,
FrameLabel -> Row[{
Style["x", Italic, 14],
Style["[m]", 14]}]]
Bob Hanlon
On Wed, Jun 13, 2012 at 4:56 AM, Derivator <derivatorb at gmail.com> wrote:
> Hi all,
> I want to put the label "x [m]" in a Plot.
> The trouble is that I need "x" in italics and "[m]" in roman type.
>
> The command
>
> FrameLabel -> Style["x [m]",Italic ]
>
> puts both x and [m] in italic. The command
>
> FrameLabel -> Style[x " [m]" ]
>
> puts x in italic and [m] in roman, but gives the wrong order [m] x,
> instead of x [m].
>
> Any idea?
>
> Thanks in advance
>
- References:
- FrameLabel and Style
- From: Derivator <derivatorb@gmail.com>
- FrameLabel and Style