Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: ListPlot and List problem

Lars Freund wrote:
> Hi,
> I want to plot data that is stored in a file having in the format:
> <frequence> <phase> <amplification>
> and want to plot the BODE-Diagram. So I did:
> myData = ReadList["filename",{Number, Number, Number}];
> and now want a plot from <phase> over <frequence> and <amplification>
> over <frequence>I tried things like
> ListPlot[Transpose[testData][[3]],PlotJoined->True]
> but I always got the wrong list-format. I need
> {freqence1,phase1},{freqence2, phase2}...
> and I always get things like
> {phase1, phase2, phase3} or so.
> Can anybody help me a bit?
> Thanks,
> Lars

Assuming myData is a 3xn matrix and you want a 2xn matrix using the
first two columns, Then


should do the trick.
Remove the _nospam_ in the return address to respond.

  • Prev by Date: Re: Thank you
  • Next by Date: Re: Displaying symbols palette in v3.0
  • Prev by thread: ListPlot and List problem
  • Next by thread: Re: ListPlot and List problem