Re: How do I manipulate that data?
- To: mathgroup at smc.vnet.net
- Subject: [mg22465] Re: How do I manipulate that data?
- From: "Robert Nowak" <robert.nowak at ims.co.at>
- Date: Sat, 4 Mar 2000 02:26:34 -0500 (EST)
- Organization: telecom.at (Vienna, Austria)
- References: <89iaoe$msi@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
hello mark,
ListPlot[{First at #, Last at #^2} & /@ data]
this should help
robert
--
---
Robert Nowak (robert.nowak at ims.co.at)
Ionen Mikrofabrikations Systeme GmbH
A-1020 Wien, Schreygasse 3, Austria
Phone: (+43 1)2144894-32, Fax: (+43 1)2144894-99
mark griggs <markgriggs at sc.rr.com> wrote in message
news:89iaoe$msi at smc.vnet.net...
> Hello all,
> I have a data file called data.txt. It consists of 2 columns of
> data. I am able to read with
> data = ReadList["/home/mark/data.txt", {Real, Real}]; I let the first
> column represent x and the second represent y. Then I plot y vs. x
> with ListPlot[data]. My problem is that I need to plot y^2 vs. x.
> So, how can I square all the y terms?
>
> regards
>
> mark
>
>
>
>
> --
> Heisenburg may have slept here
> ------------------------------
>
>
>