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 2006

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

Search the Archive

RE: Plotting multi-column data

  • To: mathgroup at
  • Subject: [mg71174] RE: [mg71100] Plotting multi-column data
  • From: "David Annetts" <davidannetts at>
  • Date: Thu, 9 Nov 2006 03:40:57 -0500 (EST)

Hi David,

> I'd like to to plot multi-column data, a line of which might 
> look like, e.g.:
> x1 y1 y2 y3 y4 y5 
> using Mathematica.  (I might have several tens of columns of data.)
> (Yes, I know MultipleListPlot would handle sets like 
> {{x1,f1(x1)},{x2,f1(x2},..}} etc, but this requires clumsily 
> defining several dozen new standalone data arrays.)
> How to accomplish this efficiently appears mystically opaque 
> to my untutored eyes, or perhaps I'm addled from too much US 
> election coverage.  A Google search on this group's archives, 
> MathSource, and the Wolfram site with the inoffensive 
> keywords plot multi-column data yielded doodly-squat 
> (actually, less than that).

I'd define a function to define the new standalone arrays for me, then use

	dataWithOrdinate[data_?ArrayQ] := 
      Transpose[{data[[All, 1]], data[[All, #]]}] & /@ Range[
          2, Length@Transpose@data];



  • Prev by Date: Re: Possible bug concerning a limit computation
  • Next by Date: Re: Option Inspector Window Font Size
  • Previous by thread: Plotting multi-column data
  • Next by thread: Re: Plotting multi-column data