MathGroup Archive 2005

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

Search the Archive

Re: ContourPlot3D and mapping

u wrote

>>     Polygon[p_] :> Block[{r = Mean[p]}, {f[r], Polygon[p]}]

>and got the error message:

You don't have Mean defined in your system. Either define it yourself
    Mean[x_List] := (Plus @@ x)/Length[x]
or load one of the statistics packages that define it.

Mean was added to the kernel starting from version 5 I think.

  • Prev by Date: question: re-organising equations
  • Next by Date: Re: Weird behavior of NumberForm in ver 5.1
  • Previous by thread: Re: ContourPlot3D and mapping
  • Next by thread: Re: ContourPlot3D and mapping