SetOptions[Plot, BaseStyle :> myBaseStyle] does not work
- To: mathgroup at smc.vnet.net
- Subject: [mg88697] SetOptions[Plot, BaseStyle :> myBaseStyle] does not work
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Tue, 13 May 2008 07:08:40 -0400 (EDT)
- Organization: University of Bergen
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.