Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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


  • To: mathgroup@smc.vnet.net
  • Subject: [mg10887] Re: ListPlot and List problem
  • From: Bill Bertram <wkb@ansto.gov.au>
  • Date: Thu, 12 Feb 1998 20:15:19 -0500
  • Organization: ANSTO
  • References: <6bprkj$arg@smc.vnet.net>

Lars Freund wrote:
> 
> 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]
> 

Lars,

One way to do it is by modifying your code to;

 myData = Transpose[ReadList["filename",{Number, Number, Number}]];

and then plot using eg,

 ListPlot[Transpose[{myData[[1]],myData[[3]]}],PlotJoined->True]

Hope this helps.
Cheers,
      Bill



  • Prev by Date: Re: MathLink and Win95
  • Next by Date: Re: Problem: install on HPUX
  • Prev by thread: Re: ListPlot and List problem
  • Next by thread: Re: ListPlot and List problem