RE: ListPlot replacing MultipleListPlot in version 6.0
- To: mathgroup at smc.vnet.net
- Subject: [mg78844] RE: [mg78796] ListPlot replacing MultipleListPlot in version 6.0
- From: "Jose Luis Gomez" <jose.luis.gomez at itesm.mx>
- Date: Wed, 11 Jul 2007 06:06:06 -0400 (EDT)
- References: <200707101022.GAA26742@smc.vnet.net>
You just have to write {data1,data2} instead of data1,data2 data1 = { {0, 1}, {1, 1.4}, {1.5, 2}, {1.9, 2.3}} data2 = { {0.2, 1}, {1.2, 1.4}, {1.4, 2}, {1.8, 2.3}} ListPlot[{data1,data2}] You can obtain a nicer plot if you add the Filling option: ListPlot[{data1,data2},Filling->Axis] Regards! Jose -----Mensaje original----- De: H Hogreve [mailto:hogreve at ifisr.org] Enviado el: Martes, 10 de Julio de 2007 05:22 a.m. Para: mathgroup at smc.vnet.net Asunto: [mg78796] ListPlot replacing MultipleListPlot in version 6.0 While MultipleListPlot has become obsolete in Mathematica 6.0, unfortunately the enhanced ListPlot function does not provide all the capabilities of MultipleListPlot. E.g., ploting the data sets data1 = { {0, 1}, {1, 1.4}, {1.5, 2}, {1.9, 2.3}} data2 = { {0.2, 1}, {1.2, 1.4}, {1.4, 2}, {1.8, 2.3}} by the command ListPlot[data1,data2] does not work, whereas this was possible with MultipleListPlot. Is there an easy way to represent both data sets in the same plot in Mathematica 6.0 ? Many thanks in advance, H. Hogreve
- References:
- ListPlot replacing MultipleListPlot in version 6.0
- From: "H Hogreve" <hogreve@ifisr.org>
- ListPlot replacing MultipleListPlot in version 6.0