MathGroup Archive 2006

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

Search the Archive

Re: Colored Tick Labels?

  • To: mathgroup at
  • Subject: [mg66935] Re: [mg66910] Colored Tick Labels?
  • From: Bob Hanlon <hanlonr at>
  • Date: Sun, 4 Jun 2006 01:10:49 -0400 (EDT)
  • Reply-to: hanlonr at
  • Sender: owner-wri-mathgroup at

FrameTicks ->
    {xTicks, yTicks, topTicks, rightTicks} /.
  "-Pi" :> StyleForm["-Pi", FontColor -> Red]

Bob Hanlon

---- AES <siegman at> wrote: 
> To create frames with different scales and tick labels on each axis, I 
> habitually use syntax like:
>    xTicks={{-1,"-Pi"}, {0.5,"0"}, {1,"Pi"}}
> and so on, and then
>    FrameTicks->{xTicks, yTicks, topTicks, rightTicks}
> Question:  Any simple way to apply a different color to the set of ticks 
> on each axis ***without having to insert a syntax like
>    StyleForm["-Pi", FontColor->Red]
> into each and every individual quoted "-Pi" label separately?


Bob Hanlon
hanlonr at

  • Prev by Date: Re: Adding a notebook (or folder) to the Mathematica Front End menus?
  • Next by Date: Re: Simplifying algebraic expressions
  • Previous by thread: Re: piecewise integration
  • Next by thread: Re: Colored Tick Labels?