Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg101161] Re: [mg101112] Possible bug in Mathematica 7 using ColorFunction
  • From: peter <plindsay.0 at gmail.com>
  • Date: Thu, 25 Jun 2009 07:15:51 -0400 (EDT)
  • References: <200906241033.GAA23167@smc.vnet.net>

I noticed that by putting a space between the mu and m in setoptions,
it looks OK

2009/6/24 Jeff Lawlis <jlawlis at allendalecolumbia.org>:
> 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 them 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 accep table.  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?
>
>



--
Peter Lindsay


  • Prev by Date: Re: *slowing down* a Mathematica process (Dynamic/Refresh
  • Next by Date: changing color, size etc on text
  • Previous by thread: Possible bug in Mathematica 7 using ColorFunction
  • Next by thread: Re: Possible bug in Mathematica 7 using ColorFunction