MathGroup Archive 2005

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

Search the Archive

Re: ContourPlot3D and mapping

Peltio <peltio at> wrote:
> 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.

> cheers,
> Peltio
> Mean was added to the kernel starting from version 5 I think.

Thanks, that does it!


  • Prev by Date: Re: Sum
  • Next by Date: Re: GridLines
  • Previous by thread: Re: ContourPlot3D and mapping
  • Next by thread: InitializationCell