Re: Filled Polar plots
- To: mathgroup at smc.vnet.net
- Subject: [mg85130] Re: Filled Polar plots
- From: Helen Read <hpr at together.net>
- Date: Wed, 30 Jan 2008 05:58:35 -0500 (EST)
- References: <fnk3hf$ktg$1@smc.vnet.net>
- Reply-to: HPR <read at math.uvm.edu>
Yaroslav Bulatov wrote: > What is the recommended way of creating filled polar plots? (assuming > it forms a closed non-intersecting curve) > > I'm looking to create something like the image on http://en.wikipedia.org/wiki/Superformula, > but PolarPlot doesn't seem to have Filling options One way is to use ParametricPlot with two parameters. f[t_] = Cos[4 t]; ParametricPlot[{r f[t] Cos[t], r f[t] Sin[t]}, {t, 0, 2 \[Pi]}, {r, 0,2}, Axes -> False, Frame -> False, PlotPoints -> 50] Or without the Mesh: f[t_] = Cos[4 t]; ParametricPlot[{r f[t] Cos[t], r f[t] Sin[t]}, {t, 0, 2 \[Pi]}, {r, 0,2}, Axes -> False, Frame -> False, PlotPoints -> 50, Mesh -> False] I'm not quite sure how to get rid of the little line segment along the positive x-axis, though. -- Helen Read University of Vermont