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

MathGroup Archive 2010

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

Search the Archive

Re: default options, OptionsPattern[], and FilterRules[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106493] Re: default options, OptionsPattern[], and FilterRules[]
  • From: Roman <rschmied at gmail.com>
  • Date: Thu, 14 Jan 2010 05:50:13 -0500 (EST)
  • References: <hik947$6qo$1@smc.vnet.net>

To answer my own question: using

FilterRules[{opts, Options[myplot]}, Options[Plot]]

will join the two sets of options with correct precedence, and thus
force the desired default behavior.


  • Prev by Date: Grid Dividers
  • Next by Date: Simplify with NestedLessLess?
  • Previous by thread: Re: default options, OptionsPattern[], and FilterRules[]
  • Next by thread: Re: default options, OptionsPattern[], and FilterRules[]