From: Jim Lambaugh on
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?

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)?

Best,
Jim.

From: Jim Lambaugh on
On 16 Mar., 11:59, Jim Lambaugh <lamba...(a)gmail.com> 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?
>
> 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)?
>
> Best,
> Jim.

Ok, so I use "N", as you have suggested. Now the thing is, I wish to
write something like

N(200,300),

but I do not want "200" and "300" to be italic, only N. I tried

Style["N",Italic] <> "(200,300)",

but apparently Style["N",Italic] is not a string. What can I do here?

From: Mike Bryniarski on
Make your label a string by putting quotes around it ie: "N"

On Mar 16, 6:59 am, Jim Lambaugh <lamba...(a)gmail.com> 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?
>
> 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)?
>
> Best,
> Jim.


From: Helen Read on
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

From: Bill Rowe on
On 3/16/10 at 5:58 AM, lambaugh(a)gmail.com (Jim Lambaugh) wrote:


>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?

Use a string to specify the label. For example,

Histogram[RandomReal[NormalDistribution[0, 1], 1000],
AxesLabel -> {"\[Sigma]", "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)?

Yes, Style will do what you need here.