MathGroup Archive 2005

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

Search the Archive

Re: Apply on MultipleListPlot using pure functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54329] Re: [mg54295] Apply on MultipleListPlot using pure functions
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Thu, 17 Feb 2005 10:30:47 -0500 (EST)
  • References: <200502161936.OAA19194@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 16 Feb 2005, at 20:36, pdickof at scf.sk.ca wrote:

> I seem to be missing soomething with using Apply on pure functions.
>
> The following lines work properly:
> Needs["Graphics`MultipleListPlot`"]
> MultipleListPlot[{1, 2, 3}, {4, 5, 6}, {2, 3, 4}];
> Apply[MultipleListPlot,
> {{1, 2, 3}, {4, 5, 6}, {2, 3, 4}}];
>
> but this does not. Why not?
> Apply[MultipleListPlot[#, Frame -> True]&,
> {{1, 2, 3}, {4, 5, 6}, {2, 3, 4}}];
>
>
>
You are applying a function with several arguments so you need:

Apply[MultipleListPlot[##, Frame -> True] &, {{1, 2, 3}, {4, 5, 6}, {2, 
3, 4}}];

Andrzej Kozlowski


Andrzej Kozlowski
Chiba, Japan
http://www.akikoz.net/andrzej/index.html
http://www.mimuw.edu.pl/~akoz/


  • Prev by Date: Re: Apply on MultipleListPlot using pure functions
  • Next by Date: Re: Apply on MultipleListPlot using pure functions
  • Previous by thread: Apply on MultipleListPlot using pure functions
  • Next by thread: Apply on MultipleListPlot using pure functions