Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: FilledPlot with Implicit Functions?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45833] Re: FilledPlot with Implicit Functions?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 27 Jan 2004 04:50:27 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <buvvup$jaq$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

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?