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
>
- References:
- How to repackage arguments?
- From: sam.takoy@yahoo.com
- How to repackage arguments?