Re: MultipleListPlot - does not work
- To: mathgroup at smc.vnet.net
- Subject: [mg78968] Re: [mg78912] MultipleListPlot - does not work
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 13 Jul 2007 06:19:33 -0400 (EDT)
- Reply-to: hanlonr at cox.net
You need to load the package that defines the function. Needs["Graphics`"]; list1={1,2,3}; list2={4,5,6}; MultipleListPlot[{1, 2, 3}, {4, 5, 6},PlotJoined->True]; Bob Hanlon ---- amigupta at gmail.com wrote: > Hi ! > > I am new to Mathematica and trying to use MultipleListPlot function to > plot two lists. But for some reason it does not seem to work. What I > did is (my comments in lines starting with //): > ---------------------------------------------------------------------------------------------------------------------------------------------------- > //loading the package > > << Graphics`MultipleListPlot` > > //defining the lists > list1 = {1, 2, 3}; > list2 = {4, 5, 6}; > > MultipleListPlot[list1, list2] > > //mathematica output > MultipleListPlot[{1, 2, 3}, {4, 5, 6}] > ---------------------------------------------------------------------------------------------------------------------------------------------------- > >From my two-days experience with Mathematica, it seems that > Mathematica couldn't find the function MultipleListPlot and hence, it > is outputting the expended list only. I am using Mathematics 5.2 . Any > suggestions about what I am doing wrong ? > >