Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9379

Re: how can i get the Scatter chart

From nanobio9 <kuokan.liang@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: how can i get the Scatter chart
Date 2012-04-03 08:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jledkk$h1b$1@smc.vnet.net> (permalink)
References <201204010737.DAA23324@smc.vnet.net> <jlbo51$47t$1@smc.vnet.net>

Show all headers | View raw


Hi,

For 2D case, ListPlot works equally well (and faster).

For 3D case, ListPointPlot3D do the same thing as below. Seems slow
but maybe still faster than using Graphics3D directly.

Best regards,
Kuo Kan Liang

> dist1 = NormalDistribution[];
>
> data1 = RandomVariate[dist1, 100];
>
> ListPlot[data1]
>
> dist2 = MultinormalDistribution[{0, 0}, {{1, 0}, {0, 1}}];
>
> data2 = RandomVariate[dist2, 100];
>
> Graphics[Point[data2],
>  Frame -> True]
>
> dist3 = MultinormalDistribution[{0, 0, 0}, IdentityMatrix[3]];
>
> data3 = RandomVariate[dist3, 100];
>
> Graphics3D[Point[data3],
>  Axes -> True]
>
> Bob Hanlon
>
>
>
>
>
>
>
> On Sun, Apr 1, 2012 at 3:37 AM,  <12146...@qq.com> wrote:
> > I know The probability density function,and then how can i get the
> > Scatter chart with Mathematica 8 ? not function's chart!

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: how can i get the Scatter chart Bob Hanlon <hanlonr357@gmail.com> - 2012-04-02 08:31 +0000
  Re: how can i get the Scatter chart nanobio9 <kuokan.liang@gmail.com> - 2012-04-03 08:50 +0000

csiph-web