MathGroup Archive 2002

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

Search the Archive

RE: Headless set of elements?


JT,

Use Sequence.

Needs["Graphics`MultipleListPlot`"]

list = {{1, 2, 3}, {2, 3, 4}, {3, 4, 5}};

In general,

f[Sequence @@ list, options]
f[{1, 2, 3}, {2, 3, 4}, {3, 4, 5}, options]

MultipleListPlot[Sequence @@ list, PlotJoined -> True];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 



> From: JT Shen [mailto:jushen1 at hotmail.com]
To: mathgroup at smc.vnet.net
> 
> Hi, I'd like to ask for help on the function of MultipleListPlot.
> 
> I am trying to use MultipleListPlot, and my dataset looks like
> 
> {list1, list2, list3, list4, ..., listn}, where the number of lists can 
> vary. However, the syntax of MultipleListPlot is as
> MultipleListPlot[list1, list2, list3, ..., listn]. In this case, 
> what would 
> be the most efficient way to achieve this (instead of cut and 
> past each list 
> by hand)?
> 
> Thanks for your help.
> 
> JT
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 


  • Prev by Date: Re: Headless set of elements?
  • Next by Date: Re: Headless set of elements?
  • Previous by thread: Re: Headless set of elements?
  • Next by thread: Re: Headless set of elements?