Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10465 > unrolled thread
| Started by | Tomas Garza <tgarza10@msn.com> |
|---|---|
| First post | 2012-06-14 09:37 +0000 |
| Last post | 2012-06-14 09:37 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: FrameLabel and Style Tomas Garza <tgarza10@msn.com> - 2012-06-14 09:37 +0000
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Date | 2012-06-14 09:37 +0000 |
| Subject | Re: FrameLabel and Style |
| Message-ID | <jrcbdc$duk$1@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 top | Article view | comp.soft-sys.math.mathematica
csiph-web