Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2001

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

Search the Archive

Re: Re: ScatterPlot3D/Plot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28721] Re: [mg28673] Re: ScatterPlot3D/Plot3D
  • From: "peter lindsay" <pl at plindsay.co.uk>
  • Date: Thu, 10 May 2001 07:55:07 -0400 (EDT)
  • References: <9d2mei$qhm@smc.vnet.net> <200105080651.CAA08265@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks everyone for your help.
I was trying to plot too many points. Cutting down solved the problem:

SetDirectory["c:\Documents and Settings\P. Lindsay\DESKTOP\alanr"];
t=Table[ReadList["alan3.txt",Number,RecordLists -> True]];

ScatterPlot3D[t,BoxRatios->{10,10,10},Axes->True,
  AxesLabel->{"fair","num","ratio"},ViewPoint->{3.0,2.5,0.3}]



However.... I now have a nice ScatterPlot3D; how do I get a surface plot ?

Thanks again for your patience and contributions,

best wishes,

Peter Lindsay

----- Original Message -----
From: "Allan Hayes" <hay at haystack.demon.co.uk>
To: mathgroup at smc.vnet.net
Subject: [mg28721] [mg28673] Re: ScatterPlot3D/Plot3D


> Peter,
> I'm not sure what the problem is - could you give an example please?
>
> Information about ScatterPlot3D can be  found by typing ScatterPlot3D,
> highlighting it, and using  Help>Find Selected Function, similarly for
> Plot3D.
>
> Here is the example given for ScatterPlot3D
>
> First, load the package containing the code:
>
> <<Graphics`Graphics3D`
>
> lpts = Table[{ t Cos[t],  t Sin[t], t},
>           {t, 0, 4Pi, Pi/20}];
>
> ScatterPlot3D[lpts];
>
> > I've got ~ 10,000 coordinates (x, y, z) in a text file. The coordinates
> are
> > not linearly spaced and I want to see how they look on a 3D plot.
>
> Is their a problem with getting the points into Mathematica? Could you
> explain please?
>
>
> --
> Allan
> ---------------------
> Allan Hayes
> Mathematica Training and Consulting
> Leicester UK
> www.haystack.demon.co.uk
> hay at haystack.demon.co.uk
> Voice: +44 (0)116 271 4198
> Fax: +44 (0)870 164 0565
>
> "peter lindsay" <pl at plindsay.co.uk> wrote in message
> news:9d2mei$qhm at smc.vnet.net...
> > Hi,
> >
> > simple one this probably:
> >
> > I've got ~ 10,000 coordinates (x, y, z) in a text file. The coordinates
> are
> > not linearly spaced and I want to see how they look on a 3D plot.
> >
> > I'm struggling a bit with the syntax, book 4 is remarkaby unhelpful
about
> > scatterplot3d.
> >
> > Any advice appreciated,
> >
> > Thanks,
> >
> > Peter Lindsay
> >
> >
>
>
>
>
>
>



  • Prev by Date: Re: Urgent Message Link --- Sample J/Link Projects
  • Next by Date: Re: ScatterPlot3D/Plot3D
  • Previous by thread: Re: ScatterPlot3D/Plot3D
  • Next by thread: ScatterPlot3D/Plot3D