Re: Plotting scattergram
- To: mathgroup at smc.vnet.net
- Subject: [mg51903] Re: Plotting scattergram
- From: Curt Fischer <crf3 at po.cwru.edu>
- Date: Thu, 4 Nov 2004 01:51:17 -0500 (EST)
- References: <cma037$8qm$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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.
In[1]:=
x={1,2,3,4};y={4,3,2,1};
In[3]:=
Thread[{x,y}]
Out[3]=
{{1,4},{2,3},{3,2},{4,1}}
In[4]:=
ListPlot[Thread[{x,y}]]
--
Curt Fischer