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:
>
>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.



  • 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