MathGroup Archive 2000

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

Search the Archive

Re: How do I manipulate that data?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22439] Re: How do I manipulate that data?
  • From: "DIAMOND Mark" <noname at noname.com>
  • Date: Sun, 5 Mar 2000 00:23:38 -0500 (EST)
  • Organization: The University of Western Australia
  • References: <89iaoe$msi@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I let the first
>column represent x and the second represent y.  Then I plot y vs. x
>with   ListPlot[data]

Just to show the pieces separately

xAndSquaredY=Map[{#[[1]],#[[2]]^2}&,data]

then

ListPlot[xAndSquaredY]

You may want to have a look at Map and Function (as well as the shorthand
pure function symbol &)
--
Mark R Diamond
Vision Research Laboratory
The University of Western Australia
no spam email: markd at psy dot uwa dot edu dot au
mark griggs wrote in message <89iaoe$msi at smc.vnet.net>...




  • Prev by Date: Re: Importing LaTex files
  • Next by Date: <<NumberTheory`FactorIntegerECM`
  • Previous by thread: Re: How do I manipulate that data?
  • Next by thread: Re: How do I manipulate that data?