RE: ListPlot replacing MultipleListPlot in version 6.0
- To: mathgroup at smc.vnet.net
- Subject: [mg78859] RE: [mg78796] ListPlot replacing MultipleListPlot in version 6.0
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Wed, 11 Jul 2007 06:14:05 -0400 (EDT)
- References: <200707101022.GAA26742@smc.vnet.net>
Hi,
At the risk of replying before the first cup of coffee ....
> 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 ?
This question was answered in [mg78779]. All you need is
ListPlot[{data1, data2}]
And you can modify things from there. For example
ListPlot[{data1, data2}, Joined -> True, Mesh -> All]
More options at ref/ListPlot in the documentation centre.
Regards,
Dave.
- References:
- ListPlot replacing MultipleListPlot in version 6.0
- From: "H Hogreve" <hogreve@ifisr.org>
- ListPlot replacing MultipleListPlot in version 6.0