MathGroup Archive 2002

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

Search the Archive

Re: MultipleListPlot not working

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38331] Re: [mg38261] MultipleListPlot not working
  • From: Vladimir Bondarenko <vvb at mail.strace.net>
  • Date: Thu, 12 Dec 2002 01:35:57 -0500 (EST)
  • In-reply-to: <200212100910.EAA14854@smc.vnet.net>
  • References: <200212100910.EAA14854@smc.vnet.net>
  • Reply-to: Vladimir Bondarenko <vvb at mail.strace.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Steve Gray <stevebg at adelphia.net> wrote on Tuesday, December 10, 2002, 5:10:48 AM :

SG> I can't get this function to do anything. I read it in with
SG>         Needs["Graphics`MultipleListPlot`"];
SG> and no error messages appear, and the file IS present in
SG> this directory:

SG> C:\Program Files\Wolfram Research\Mathematica\4.1 \
SG> (2)\AddOns\StandardPackages\Graphics\'MultipleListPlot.m

SG> but when I do an example right out of Help such as

SG> << Graphics`MultipleListPlot`
SG> (list1 = Table[{x, Sin[2 Pi x]},      {x, 0, 1, 0.1}];
SG>  list2 = Table[{x, Cos[2 Pi x]},     {x, 0, 1, 0.1}]);

SG> MultipleListPlot[list1, list2]

SG> , nothing appears (no plot shows) except  this text

SG> \!\(MultipleListPlot[{{0, 0}, {0.1`, 0.5877852522924731`}, {0.2`, 
SG>         0.9510565162951535`}, {0.30000000000000004`, 

[SKIPPED]

I cannot reproduce this behavior in the following versions

  4.2 for Microsoft Windows (June 5, 2002)
  4.2 for Microsoft Windows (February 28, 2002)
  4.1 for Microsoft Windows (November 2, 2000)
  4.0 for Microsoft Windows (April 21, 1999)
  Microsoft Windows 3.0 (April 25, 1997)


I can reproduce the behavior you had quoted in such a way.


1. Do NOT load MultipleListPlot via Needs["Graphics`MultipleListPlot`"];

2. Input (list1 = Table[{x, Sin[2 Pi x]}, {x, 0, 1, 0.1}];
         list2 = Table[{x, Cos[2 Pi x]},  {x, 0, 1, 0.1}]);

3. Input MultipleListPlot[list1, list2]

4. Copy the output into the email and compare with yours.

SG> \!\(MultipleListPlot[{{0, 0}, {0.1`, 0.5877852522924731`}, {0.2`,
SG>         0.9510565162951535`}, {0.30000000000000004`, etc

    \!\(MultipleListPlot[{{0, 0}, {0.1`, 0.5877852522924731`}, {0.2`,
            0.9510565162951535`}, {0.30000000000000004`,
            0.9510565162951535`}, {0.4`, 0.5877852522924732`}, {0.5`,
            1.2246063538223773`*^-16}, {0.6000000000000001`, \
    \(-0.5877852522924734`\)}, {0.7000000000000001`, \(-0.9510565162951535`\)}, \
    {0.8`, \(-0.9510565162951536`\)}, {0.9`, \(-0.5877852522924734`\)}, {1.`, \
    \(-2.4492127076447545`*^-16\)}}, {{0, 1}, {0.1`, 0.8090169943749475`}, {0.2`,
            0.30901699437494745`}, {0.30000000000000004`, \(-0.30901699437494756`\
    \)}, {0.4`, \(-0.8090169943749473`\)}, {0.5`, \(-1.`\)}, \
    {0.6000000000000001`, \(-0.8090169943749472`\)}, {0.7000000000000001`, \
    \(-0.30901699437494756`\)}, {0.8`, 0.30901699437494723`}, {0.9`,
            0.8090169943749473`}, {1.`, 1.`}}]\)


Over years, I gradually came to the final conclusion that it is best to
load the proper package prior to using a function call from it ;-)


Best wishes,

Vladimir Bondarenko
Mathematical and Production Director
Symbolic Testing Group

        http://www.CAS-testing.org/  GEMM Project (98% ready)
        
Email:  vvb at mail.strace.net
Voice:  (380)-652-447325 Mon-Fri 6 a.m. - 3 p.m. GMT
ICQ  :  173050619
Mail :  76 Zalesskaya Str, Simferopol, Crimea, Ukraine


P.S. A remark for our Moderator only.

See at last how good I am ;)




  • Prev by Date: RE: a visualization problem in Mathematica
  • Next by Date: Re: 1^Infinity
  • Previous by thread: Re: MultipleListPlot not working
  • Next by thread: Memory Leak with KSubsets?