MathGroup Archive 2003

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

Search the Archive

Re: Newbie: plot data from a text file?


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?