MathGroup Archive 1999

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

Search the Archive

Re: please help with plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19839] Re: please help with plot
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sun, 19 Sep 1999 01:20:25 -0400
  • Organization: Universitaet Leipzig
  • References: <7rshjt$3hb@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,


data=ReadList["yourdatafile",{Number,Number}]

will work.

You may also use your" numbers sequentially" and run

data=Partition{ReadList["yourdatafile",{Number}],2]

to get pairs.

Hope that helps

Mark G wrote:
> 
> I have a data file that consist of 2 columns.  I wish to treat the first
> column as my x-cordinate and the second as my y cordinate.  I have about 200
> data points.  How can I get mathematica to read this data and plot the
> points.  I have tried the ReadList command, but it reads the numbers
> sequentially instead of as an ordered pair.  I have mathematica 3.0.
> 
> Thanks
> 
> Mark G


  • Prev by Date: Re: searchforperiod
  • Next by Date: Re: F[f_,x_]:=f[x] ?
  • Previous by thread: Re: please help with plot
  • Next by thread: Re: please help with plot