MathGroup Archive 2012

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

Search the Archive

Re: how can i get the Scatter chart

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125803] Re: how can i get the Scatter chart
  • From: nanobio9 <kuokan.liang at gmail.com>
  • Date: Tue, 3 Apr 2012 04:47:57 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204010737.DAA23324@smc.vnet.net> <jlbo51$47t$1@smc.vnet.net>

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... at 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!




  • Prev by Date: Re: ReplacePart, Multiple replacements in one time
  • Next by Date: Re: Integers that are the sum of 2 nonzero squares in
  • Previous by thread: Re: how can i get the Scatter chart
  • Next by thread: Simple Graph plot question