MathGroup Archive 2012

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

Search the Archive

Re: How to repackage arguments?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126176] Re: How to repackage arguments?
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Mon, 23 Apr 2012 05:41:08 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204221005.GAA05010@smc.vnet.net>

Use FilterRules on options from polarParametricPlot

polarParametricPlot[..., opts___] :=
 Module[{ ...},
  ParametricPlot[...,
    FilterRules[Flatten[{opts}],
     Options[ParametricPlot]
     ]
   ]
  ]


Bob Hanlon


On Sun, Apr 22, 2012 at 6:05 AM,  <sam.takoy at yahoo.com> wrote:
> Hi,
>
> Suppose I would like to write a function PolarParmetricPlot which plots a curve in polar coordinates. Inside the function, I would like to call ParametricPlot and then pass it whatever additional parameters were passed to my PolarParmetricPlot. What's the syntax for getting a hold of those parameters and resending them to ParametricPlot?
>
> Many thanks in advance,
>
> Sam
>



  • Prev by Date: Serious Bug in Mathematica 7 and 8.0.4.0 (latest version)
  • Next by Date: Re: How to repackage arguments?
  • Previous by thread: How to repackage arguments?
  • Next by thread: Re: How to repackage arguments?