Re: Axeslabel containing capital n
- To: mathgroup at smc.vnet.net
- Subject: [mg108426] Re: Axeslabel containing capital n
- From: Helen Read <hpr at together.net>
- Date: Wed, 17 Mar 2010 04:40:27 -0500 (EST)
- References: <hnnoa8$jov$1@smc.vnet.net>
- Reply-to: read at math.uvm.edu
On 3/16/2010 6:59 AM, Jim Lambaugh wrote:
> Hi
>
> In my plot I need to label my y-axis N, but Mathematica recognizes
> this as numerical value. How do I turn this off while plotting, so I
> can label my axis N?
Do it as a string "N" instead of N.
> Also, I need to change the font of the N. But I guess that is easy as
> long as the above problem is taken care of (i.e. just use Style)?
Exactly.
Plot[x^2, {x, -3, 3},
AxesLabel -> {Style["Fred", Purple, Italic, 14],
Style["N", Red, Bold, 16]}]
--
Helen Read
University of Vermont