MathGroup Archive 2007

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

Search the Archive

Re: Problems with PlotStyle in ListPointPlot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81790] Re: Problems with PlotStyle in ListPointPlot3D
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Wed, 3 Oct 2007 06:11:30 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <fdvcg8$s0e$1@smc.vnet.net>

H Hogreve wrote:

> Apparently, it is not possible to invoke simultaneously both
> options that determine the point size and the colour in PlotStyle
> when using it in ListPointPlot3D.  Thus, while
> 
>          ListPointPlot3D[{{0,0,0}}, PlotStyle->{PointSize[0.02]}]
> 
> and
> 
>          ListPointPlot3D[{{0,0,0}}, PlotStyle->{Hue[1]}]
> 
> work correctly, the combined version
> 
>         ListPointPlot3D[{{0,0,0}}, PlotStyle->{PointSize[0.02], Hue[1]}]
> 
> only displays the point with the desired size (or the desired colour, if
> using PlotStyle->{Hue[1],PointSize[0.02]} ). Sometimes, the combined
> version does not even show a point at all, but the frame only, giving me
> the impression that in vers. 6.0 ListPointPlot3D is still a rather unstable
> command. Perhaps, however, there are other ways of setting the
> point size and colour in ListPointPlot3D, so any hints will be very
> welcome.
> 
> Let me add that the 2D analogue
> 
>     ListPlot[{{0,0}}, PlotStyle->{PointSize[0.02], Hue[1]}]
> 
> works fine.
> 
> Many thanks in advance,

Use *Directive*. For instance, the following expression will draw a 
large red dot.

ListPointPlot3D[{{0, 0, 0}},
  PlotStyle -> Directive[PointSize[0.2], Hue[1]]]

Regards,
-- 
Jean-Marc


  • Prev by Date: Importing output from one notebook to another
  • Next by Date: Re: Equivalent functionality to colorbar in Mathematica?
  • Previous by thread: Problems with PlotStyle in ListPointPlot3D
  • Next by thread: Re: Problems with PlotStyle in ListPointPlot3D