Re: Plotting scattergram
- To: mathgroup at smc.vnet.net
- Subject: [mg51867] Re: Plotting scattergram
- From: "Dr. Wolfgang Hintze" <weh at snafu.de>
- Date: Thu, 4 Nov 2004 01:49:08 -0500 (EST)
- References: <cma037$8qm$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Something like this?
1) Create two vectors (length 100)
In[36]:=
x = Table[Random[], {100}];
y = Table[Random[], {100}];
2) Put data into a list of pairs
In[41]:=
z = Transpose[{x, y}];
3) and eventually Plot them
In[44]:=
ListPlot[z, PlotRange -> {{0, 1}, {0, 1}}];
Hope this helps
Wolfgang
Mukhtar 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.
>
>