MathGroup Archive 2008

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

Search the Archive

SetOptions[Plot, BaseStyle :> myBaseStyle] does not work


Why doesn't the following work?

myBaseStyle = {FontFamily -> "Helvetica"};
SetOptions[Plot, BaseStyle :> myBaseStyle];
Plot[Sin[x], {x, 0, 10}]

It seems that myBaseStyle does not get evaluated before plotting.  Is 
this a bug?  Using Plot[Sin[x], {x, 0, 10}, BaseStyle :> myBaseStyle] 
does work.

The old TextStyle option used exactly this pattern, and PerformanceGoal 
and DisplayFunction still use it.


  • Prev by Date: Re: Error messages from FunctionInterpolation (bug?)
  • Next by Date: Re: Null Return for a Module
  • Previous by thread: vehicle routing problem
  • Next by thread: Re: SetOptions[Plot, BaseStyle :> myBaseStyle] does not work