Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: parametric plot and filling
Replies: 9   Last Post: Aug 23, 2013 4:56 AM

 Messages: [ Previous | Next ]
 W. Craig Carter Posts: 266 Registered: 9/10/05
Re: parametric plot and filling
Posted: Aug 23, 2013 3:49 AM

Here is another way to get filling:

OrbitOrbit[ r_, t_, n_] := { r Cos[n t ] + Cos[t], r Sin[n t] + Sin[t]}

ParametricPlot[OrbitOrbit[r, t, 6], {t, -Pi, Pi}, {r, .25, .9},
PlotStyle -> {Thick, Red}, Mesh -> False, PlotPoints -> 36,
ColorFunction -> (Hue[#3, 1, 1, 0.25] &)]

W Craig Carter
Professor of Materials Science, MIT

On Aug 22, 13, at 0:51 AM, Murray Eisenberg wrote:

> Right, Filling is not a permissible option to ParametricPlot.
>
> But suppose Wolfram wanted to make it an option. What, exactly, do you
> propose it should do. For example, in what way would you expect a
> Filling option to work with each of the following?
>
> ParametricPlot[{Cos[t], Sin[t]}, {t, 0, 2 Pi}]
> ParametricPlot[{s, t}, {s, -2, 2}, {t, 1, 3}]
> ParametricPlot[{t, 2}, {x, -5, 5}]
> ParametricPlot[{t Sin[t], t Cos[t]}, {t, 0, 6 Pi}]
>
>
> On Aug 20, 2013, at 7:36 AM, Francisco Gutierrez
> <fgutiers2002@yahoo.com> wrote:
>

>>
>> DoesParametricPlot admit the Filling option? Seems it not? How then to

> perform it?
>> Lokk at the following simple example:
>>
>> ParametricPlot[{{2 t,-t^2},{6+ 2 t,-t^2}},

> {t,-2,2},Axes->{True,False}, Ticks->None,
> PlotStyle->{{Thick,Cyan},{Thick,Green}}]

>>
>> The if I introduce the Filling command inside PlotStyle nothing

> happens, and outside it produces an error. Any ideas?
>> francisco
>
> ---
> Murray Eisenberg
> murray@math.umass.edu
> Mathematics & Statistics Dept.
> University of Massachusetts
> 710 North Pleasant Street
> Amherst, MA 01003-9305
>
>
>
>
>
>

Date Subject Author
8/21/13 Bob Hanlon
8/22/13 Murray Eisenberg
8/22/13 Bob Hanlon
8/23/13 W. Craig Carter
8/23/13 Murray Eisenberg
8/23/13 W. Craig Carter