MathGroup Archive 2003

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

Search the Archive

Re: Newbie: plot data from a text file?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43831] Re: [mg43817] Newbie: plot data from a text file?
  • From: YAT <yat at omrf.ouhsc.edu>
  • Date: Wed, 8 Oct 2003 04:47:45 -0400 (EDT)
  • References: <200310070640.CAA14831@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Check out ListPlot


In[1]:=
?ListPlot


ListPlot[{y1, y2, ... }] plots a list of values. The x coordinates for 
each point are taken to be 1, 2, ... . ListPlot[{{x1, y1}, {x2, y2}, ... 
}] plots a list of values with specified x and y coordinates.



Yas





McGee wrote:

> Hi all,
> 
> (I checked the manual and online help for this but I haven't found
> anything).
> 
> I have some C code that generates ordered (x,y) pairs of data. I'd
> like to be able to simply use Mathematica to plot this data. I don't
> see any arguments to Plot[] that allow this, nor do I see an
> alternative.
> 
>  Am I missing something obvious? Or is Mathematica the wrong tool for
> this . . .
> 
> Thanks,
> McGee


  • Prev by Date: Re: Newbie: plot data from a text file?
  • Next by Date: Re: Newbie: plot data from a text file?
  • Previous by thread: Newbie: plot data from a text file?
  • Next by thread: Re: Newbie: plot data from a text file?