MathGroup Archive 2004

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

Search the Archive

Re: FilledPlot with Implicit Functions?


Hi,

Needs["Graphics`ImplicitPlot`"];
f1 := x^2 + y^2 == 2;
f2 := x^2 + y^2 == 1;
plt = ImplicitPlot[{f1, f2}, {x, -3, 3}, AxesLabel -> {"x", "y"}, 
      PlotStyle -> {{}, Dashing[{0.02}]}];

plt /. {{Line[pnts_]} :> {{RGBColor[1, 0, 0], Polygon[pnts]}, 
          Line[pnts]}, {Dashing[dd_], 
          Line[pnts_]} :> {{RGBColor[1, 1, 1], Polygon[pnts]},
{Dashing[dd], 
            Line[pnts]}}} // Show

Regards
  Jens

"e.t." wrote:
> 
> Hi,
> 
> how can fill the range between the to circles? FilledPlot will not work
> with implicit functions.
> thx,
> Oliver
> 
> Needs["Graphics`ImplicitPlot`"];
> f1 := x^2 + y^2 == 2;
> f2 := x^2 + y^2 == 1;
> ImplicitPlot[{f1, f2}, {x, -3, 3},
>       AxesLabel -> {"x", "y"},
>       PlotStyle -> {{}, Dashing[{0.02}]}];


  • Prev by Date: Noisy data and ListConvolve
  • Next by Date: Re: Problems with Plot in Mathematica 4.0
  • Previous by thread: Re: FilledPlot with Implicit Functions?
  • Next by thread: RealDigits bug?