MathGroup Archive 2004

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

Search the Archive

Re: Plotting scattergram

Here are two methods.

n = 20;
x = Array[Random[] & , {n}];
y = x^2 + 0.1*Array[Random[] & , {n}];
ListPlot[Transpose[{x, y}],
    PlotStyle -> {Red, PointSize[0.02]}];
Show[Graphics[{Red, PointSize[0.02],
     Point /@ Transpose[{x, y}]}]]


On Wed, 3 Nov 2004 01:25:13 -0500 (EST), Mukhtar <mbekkali at> wrote:

> Is there a way to plot a scattergram.  I could not find anyting in
> statistics section, where one would expect to find it.  I have two
> vectors X and Y that I need to plot against each other.  As of now I
> have to export data to excel and do it there which is very
> inconvenient. Thanks.

DrBob at

  • Prev by Date: Re: Garbage collection problem
  • Next by Date: Re: fractal image compression
  • Previous by thread: Re: Plotting scattergram
  • Next by thread: Re: Plotting scattergram