MathGroup Archive 2005

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

Search the Archive

Re: ContourPlot3D and mapping


Peltio <peltio at trilight.zone> wrote:
> u wrote

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

>>and got the error message:
>>
>>Graphics3D::"gprim":
>>f[Mean[{{-0.7250000000000001`,

> 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!

Minhhuy


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