Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Colored Tick Labels?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66921] Re: [mg66910] Colored Tick Labels?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 4 Jun 2006 01:09:50 -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



  • Prev by Date: Re: Mathematica Font problems
  • Next by Date: Re: Adding a notebook (or folder) to the Mathematica Front End menus?
  • Previous by thread: Re: Colored Tick Labels?
  • Next by thread: Re: Colored Tick Labels?