MathGroup Archive 2010

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

Search the Archive

Re: A question about Graphics3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107370] Re: A question about Graphics3D
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 11 Feb 2010 05:17:00 -0500 (EST)
  • References: <hktr4t$ko6$1@smc.vnet.net>

Dear Marwa Ali,

Let me first thank you for the polite salutation of your post. One
thing to note: I assume the readers of this group will indeed be
mostly male given the group's nerdy subject. However, I know of at
least one female reader of this group. As such the salutation 'Dear
Sir' might be considered improper.

Anyways, if you want to plot data you may consider more specialised
commands to do this. I'd say you could try ListPointPlot3D or its
siblings.

If you still want to use Graphics3D, coloring can be done by inserting
a color before the drawing commands that should be in that color, for
instance using RGBColor[r,g,b] or some named colors:
Graphics3D[{Red,Point[{0,0,0}],RGBColor[0,1,0],Point[{1,1,1}]}].

ListPlot has the option PlotMarkers to specify the plot symbols.
ListPointPlot3D doesn't have this option, but since markers are
usually 2D they make less sense in 3D plots.

Cheers -- Sjoerd


On Feb 10, 10:35 am, Marwa Abd El-Wahaab <m.a.elwah... at gmail.com>
wrote:
> Dear Sir,
>
> I am a Mathematica 7 user.
>
> I have two questions about Graphics3D[Point[my data]];
>
> *First question:*
> *
> *
> How can I color some points in my data in the above "Graphics3D" by
> different colors?
>
> *Second question:*
>
> How can I represent some points also in my data in the above "Graphics3D"=
 by
> shapes like squares , some like triangles and some like circles ?
>
> I need your advice.
>
> Marwa Ali



  • Prev by Date: Re: A question about Graphics3D
  • Next by Date: Re: Re: Bug? Analytical integration of cosines gets the
  • Previous by thread: Re: A question about Graphics3D
  • Next by thread: Re: A question about Graphics3D