Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10465
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: FrameLabel and Style |
| Date | 2012-06-14 09:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jrcbdc$duk$1@smc.vnet.net> (permalink) |
| 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@gmail.com
> Subject: FrameLabel and Style
> To: mathgroup@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
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: FrameLabel and Style Tomas Garza <tgarza10@msn.com> - 2012-06-14 09:37 +0000
csiph-web