Re: Questions on MultipleListPlot
- To: mathgroup@smc.vnet.net
- Subject: [mg10529] Re: [mg10473] Questions on MultipleListPlot
- From: seanross@worldnet.att.net
- Date: Tue, 20 Jan 1998 02:23:16 -0500
- References: <199801160934.EAA08291@smc.vnet.net.>
David Keith wrote:
>
> I am using MultipleListPlot to plot data previously acquired and stored
> as space delimited numbers in newline delimited records. Using
> "ReadList, RecordLists->True", it is easy to acquire the data as a list
> of lists, where each element of an inner list is a two-element list
> representing a data point. The length of the outer list and of the
> inner lists is variable, depending on the particular data acquisition.
>
> Example:
>
> data = {
> { {x11,y11},{x12,y12},{x13,y13} },
> { {x21,y21},{x22,y22},{x23,y23} },
> { {x31,y31},{x32,y32},{x33,y33} }
> }
>
> I am having two problems:
>
> 1) While ReadList easily acquires the data as a list of lists,
> MultipleListPlot wants to see separate lists as separate arguments, ie.
> "MultipleListPlot[list1,list2,list3, . . .], not
> MultipleListPlot[{list1,list2,list3, . . .}]. Can anyone recommend a
> method to feed a list of lists to MultipleListPlot?
Use Flatten or data[[1]] to get rid of unwanted parenthesis.
--
Remove the _nospam_ in the return address to respond.
- References:
- Questions on MultipleListPlot
- From: "David Keith" <dkeith@hevanet.com>
- Questions on MultipleListPlot