Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FrameLabel and Style

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126874] Re: FrameLabel and Style
  • From: Tomas Garza <tgarza10 at msn.com>
  • Date: Thu, 14 Jun 2012 05:34:42 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201206130856.EAA03721@smc.vnet.net>

You might try
Plot[Sin[x],{x,-Pi,Pi},Frame->True,FrameLabel->{Row[{Style["x",Italic,12],Style["[m]",Plain,12]}]}]
-Tomas

> Date: Wed, 13 Jun 2012 04:56:58 -0400
> From: derivatorb at gmail.com
> Subject: FrameLabel and Style
> To: mathgroup at smc.vnet.net
>
> 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
>


  • Prev by Date: Re: Theta function integration bug
  • Next by Date: Re: modulo solving lacking domain?
  • Previous by thread: Re: FrameLabel and Style
  • Next by thread: Re: FrameLabel and Style