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: [mg81800] Re: [mg81750] Problems with PlotStyle in ListPointPlot3D
  • From: DrMajorBob <drmajorbob at bigfoot.com>
  • Date: Wed, 3 Oct 2007 06:16:41 -0400 (EDT)
  • References: <20029506.1191395289827.JavaMail.root@m35>
  • Reply-to: drmajorbob at bigfoot.com

Use Directive:

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

or

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

In v6, the plot routines allow a List of things to plot and a  
corresponding List of directives. If there's only one Directive, it  
applies to all the "things"; if there's a List of directives, the first  
applies to the first thing, second to the second thing, etc.

It's true that you only have one "thing" in your example (one list of  
points) and, from that, one might guess that you wanted to apply all the  
directives to it; but that isn't the syntax now.

Bobby

On Wed, 03 Oct 2007 01:20:38 -0500, H Hogreve <hogreve at ifisr.org> 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,
>
> H. Hogreve,
> IFISR
>
>
>
>
>



-- 
DrMajorBob at bigfoot.com


  • Prev by Date: Re: Re: Tooltips in ContourPlot
  • Next by Date: Re: Re: Install problem, 6.0, Mac OS 10.4.10: No kernel connect?
  • Previous by thread: Re: Problems with PlotStyle in ListPointPlot3D
  • Next by thread: Re: Re: Problems with PlotStyle in ListPointPlot3D