Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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


  • Prev by Date: Re: Plotting scattergram
  • Next by Date: Re: Null entry in a Graphics list?
  • Previous by thread: Re: Plotting scattergram
  • Next by thread: Re: Plotting scattergram