MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Axeslabel containing capital n

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108440] Re: Axeslabel containing capital n
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Wed, 17 Mar 2010 06:04:43 -0500 (EST)
  • References: <hnnoa8$jov$1@smc.vnet.net> <hnq807$r1a$1@smc.vnet.net>

Am 17.03.2010 10:39, schrieb Jim Lambaugh:
> On 16 Mar., 11:59, Jim Lambaugh <lamba... at 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


  • Prev by Date: Re: Pi day
  • Next by Date: Re: Relation Problem in Mathematica
  • Previous by thread: Re: Axeslabel containing capital n
  • Next by thread: Re: Axeslabel containing capital n