From: Alexei Boulbitch on
Hi, Jim,

where is the problem? Chose one of these

Plot[Sin[x], {x, 0, 1}, AxesLabel -> {"N", "C"}]
Plot[Sin[x], {x, 0, 1},
AxesLabel -> {Style["N", 16], Style["C", Italic, 16]}]
Plot[Sin[x], {x, 0, 1}, AxesLabel -> {\[CapitalNu], \[CapitalChi]}]
Plot[Sin[x], {x, 0, 1},
AxesLabel -> {\[DoubleStruckCapitalN], \[DoubleStruckCapitalC]}]

Have fun, Alexei


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.

--
Alexei Boulbitch, Dr., habil.
Senior Scientist

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern
Luxembourg

Phone: +352 2454 2566
Fax: +352 2454 3566

Website: www.iee.lu

This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.



From: George Woodrow III on
Simple answer is to use "N" (in quotes) to let Mathematica know it is a character, not a variable or function.

You can use Style[] to change font, size, color of any String.

george


On Mar 16, 2010, at 6:58 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?
>
> 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: Tomas Garza on
Did you enclose N in quotation marks? E.g.

ListPlot[Table[{n,Binomial[n,2]},{n,2,20}],AxesLabel->{"N","Binomial"}]

-Tomas

> Date: Tue, 16 Mar 2010 05:58:29 -0500
> From: lambaugh(a)gmail.com
> Subject: Axeslabel containing capital n
> To: mathgroup(a)smc.vnet.net
>
> 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: dh on
Hi Jim,
simply specify N as a string: "N". Style will take care of the rest.
Daniel

On 16.03.2010 11:59, 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?
>
> 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.
>


--

Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh(a)metrohm.com>
Internet:<http://www.metrohm.com>


From: Albert Retey on
Am 17.03.2010 10:39, schrieb Jim Lambaugh:
> 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?
>

Use Row instead of StringJoin:

Plot[x, {x, 0, 1},
PlotLabel -> Row[{Style["N", Italic], "(200,300)"}]]

hth,

albert