Re: Colored Tick Labels?
- To: mathgroup at smc.vnet.net
- Subject: [mg66935] Re: [mg66910] Colored Tick Labels?
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 4 Jun 2006 01:10:49 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
FrameTicks ->
{xTicks, yTicks, topTicks, rightTicks} /.
"-Pi" :> StyleForm["-Pi", FontColor -> Red]
Bob Hanlon
---- AES <siegman at stanford.edu> 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 cox.net