MathGroup Archive 2009

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

Search the Archive

Re: Possible bug in Mathematica 7 using ColorFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101135] Re: Possible bug in Mathematica 7 using ColorFunction
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 25 Jun 2009 07:10:48 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <h1svc1$mi9$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

but you don't mean the greek mu, you mean a micro and
that is

SetOptions[Plot, Frame -> True,
   FrameLabel -> "Wavelength (\[Micro]m)"];

Regards
   Jens

Jeff Lawlis wrote:
> Problem:  use of ColorFunction affects spacing of Greek characters in Frame label.  
> 
> Here is a simple example of the problem:
> 
> SetOptions[Plot, Frame -> True, FrameLabel -> "Wavelength (\[Mu]m)"]
> Plot[y = x, {x, 1, 1000}, 
>  ColorFunction -> (ColorData["VisibleSpectrum"][#] &), 
>  ColorFunctionScaling -> False, Filling -> Axis]
> 
> Notice the space between the Greek character \[Mu] and the m, causing the m to overlap the right parantheses.  The space disappears if you remove the ColorFunction gradient from the plot parameters.  Also, if you change \[Mu] to a standard character like m, the formatting looks perfectly acceptable.  To be honest, I don't really understand the reason for the [#] & following the ColorData tag, but the gradient doesn't seem to work properly without it.  Is my syntax correct?
> 


  • Prev by Date: Re: Take away the sliders
  • Next by Date: Re: soap films
  • Previous by thread: Re: Possible bug in Mathematica 7 using ColorFunction
  • Next by thread: Re: Possible bug in Mathematica 7 using ColorFunction