MathGroup Archive 2003

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

Search the Archive

Re: help with 3D scatter plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41969] Re: help with 3D scatter plot
  • From: "seferiad" <seferiad at pacbell.net>
  • Date: Wed, 11 Jun 2003 13:18:11 -0400 (EDT)
  • References: <bbt1pv$nh8$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

David,
Thanks for your detailed responses. I didn't get the first plot to work
properly. Before I go through the rest of your suggestions, I wanted to
understand what I was doing wrong.--Jay

"David Park" <djmp at earthlink.net> wrote in message
news:bbt1pv$nh8$1 at smc.vnet.net...
> Jay,
>
<snip>
> > Here is a set of sample data points.
>
> points = Table[{x = Random[Real, {-2, 2}],
>      y = Random[Real, {-2, 2}],
>      Sqrt[Max[Random[Real, {3, 4}] - x^2 - y^2, 0]]},
>     {200}];
> Clear[x, y]
>
> Needs["Graphics`Colors`"]
>
> plot1 =
>     Show[
>       Graphics3D[{Red, AbsolutePointSize[4], Point /@ points}]
>       ];

It only printed the 3D "shell" with no data.  I encountered the following
error.
Graphics3D::"gprim": "\!\(Red\) was encountered where a \!\(Graphics3D\) \
primitive or directive was expected."

Do I need to input something else? Thanks, Jay



  • Prev by Date: System of ODE
  • Next by Date: Re: Times font error :(
  • Previous by thread: Re: help with 3D scatter plot
  • Next by thread: Re: help with 3D scatter plot