Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10443 > unrolled thread
| Started by | Derivator <derivatorb@gmail.com> |
|---|---|
| First post | 2012-06-13 08:59 +0000 |
| Last post | 2012-06-19 07:15 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
FrameLabel and Style Derivator <derivatorb@gmail.com> - 2012-06-13 08:59 +0000
Re: FrameLabel and Style Helen Read <readhpr@gmail.com> - 2012-06-14 09:37 +0000
Re: FrameLabel and Style derivatorb@gmail.com - 2012-06-19 07:15 +0000
| From | Derivator <derivatorb@gmail.com> |
|---|---|
| Date | 2012-06-13 08:59 +0000 |
| Subject | FrameLabel and Style |
| Message-ID | <jr9kou$3la$1@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
[toc] | [next] | [standalone]
| From | Helen Read <readhpr@gmail.com> |
|---|---|
| Date | 2012-06-14 09:37 +0000 |
| Message-ID | <jrcbcd$duh$1@smc.vnet.net> |
| In reply to | #10443 |
label = Row[{Style["x", Italic], "[m]"}];
Plot[x^2, {x, -1, 1}, Axes -> False, Frame -> True,
FrameLabel -> label]
Helen Read
University of Vermont
On 6/13/2012 4:59 AM, Derivator 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
>
>
[toc] | [prev] | [next] | [standalone]
| From | derivatorb@gmail.com |
|---|---|
| Date | 2012-06-19 07:15 +0000 |
| Message-ID | <jrp8tp$q9t$1@smc.vnet.net> |
| In reply to | #10443 |
El mi=E9rcoles, 13 de junio de 2012 10:59:10 UTC+2, Derivator escribi=F3: > 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 The command "Row" is perfect for the job. Thank you very much to all.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web