MathGroup Archive 1998

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

Search the Archive

Re: ImplicitPlot options (undocumented)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14463] Re: [mg14462] ImplicitPlot options (undocumented)
  • From: "Jens-Peer Kuska" <kuska at linmpi.mpg.de>
  • Date: Fri, 23 Oct 1998 20:58:43 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Ted,

You was surprised ? Drawing a implicit equation a==b is exactly
equivalent to draw the contour line of f=a-b for f=0. Thats why
ImplicitPlot calls ContourPlot[]. The options that uses ImplicitPlot[]
given *after* the user options and
the options are

 Sequence@@{ ContourStyle->ps,
  Contours->{0},
  ContourLines->True,
  ContourShading->False,
  ContourSmoothing->True}

The user options may overwrite some of the settings because the usual
replacement

somval= someOption /. {opts} /. Options[ContourPlot];

will find the user option first, and the second value for this option
has no chance
to replace someOption any more.

Regards
  Jens

-----Original Message-----
From: Ersek, Ted R <ErsekTR at navair.navy.mil> To: mathgroup at smc.vnet.net
Subject: [mg14463] [mg14462] ImplicitPlot options (undocumented)


>Recent messages under the subject "shading implicit plot" discussed the
>use of the option ColorFunction with the ImplicitPlot package.  I was
>surprised ImplicitPlot uses the ColorFunction option because it isn't
>included in the list returned by  Options[ImplicitPlot].
>
>After studying the code for the package and doing some investigating I
>found other options ImplicitPlot can use.  In particular ImplicitPlot
>will take the options ColorFunction, Compiled, ContourLines,
>ContourShading, ContourStyle, FormatType, ImageSize, and TextStyle even
>though they aren't returned by Options[ImplicitPlot].  Use of each of
>these options except Compiled is demonstrated below.
>
>In[1]:=
><<Graphics`ImplicitPlot`
>
>
>In[2]:=
>ImplicitPlot[x^2+y^2==1/2,{x,0,0.75},{y,0,0.75},ContourStyle->Dashing[{0.02
,
>0.02}],
>   TextStyle->{FontColor->Hue[0.7]}]; (* Graphic not shown *)
>
>
>In[3]:=
>ImplicitPlot[x^2+y^2==1/2,{x,0,0.75},{y,0,0.75},
>   ColorFunction->(If[#<0.5, GrayLevel[0.7], GrayLevel[1]]&),
>   ImageSize->{200,200}, ContourLines->False,
>   ContourShading->True];
>(* Graphic not shown  *)
>
>
>ImplicitPlot[ArcSin[x]-y==0,{x,-1,1},{y,-p/2,p/2},
>   PlotLabel->HoldForm[ArcSin[x]=y],
>   FormatType->TraditionalForm];
>(* Graphic not shown  *)
>
>
>I have yet to find documentation indicating that ImplicitPlot uses these
>options.
>
>Cheers,
>Ted Ersek
>
>



  • Prev by Date: Re: Printing Problems under Windows98
  • Next by Date: Limits pre- & post-Solve[]
  • Previous by thread: Re: ImplicitPlot options (undocumented)
  • Next by thread: Re: ImplicitPlot options (undocumented)