MathGroup Archive 2006

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

Search the Archive

Re: Re: Using a List for the Listplot x-labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63683] Re: [mg63654] Re: Using a List for the Listplot x-labels
  • From: ggroup at sarj.ca
  • Date: Tue, 10 Jan 2006 01:48:38 -0500 (EST)
  • References: <200601090948.EAA29603@smc.vnet.net>
  • Reply-to: ggroup at sarj.ca
  • Sender: owner-wri-mathgroup at wolfram.com

On Monday, January 9, 2006 at 04:48 GMT -0500, Rudy wrote:

<snip>
> c=Inner[List,a,b,List]

Nice trick!  This seems to be about 20% faster than:

c = Transpose[{a,b}]

and about 33% faster than:

c = Thread[List[a,b]]

The only disadvantage I can see is that using Inner makes it more
difficult if you have more than two lists to be combined.


  • Prev by Date: Question - Function Definition
  • Next by Date: Re: Re: Using a List for the Listplot x-labels
  • Previous by thread: Re: Using a List for the Listplot x-labels
  • Next by thread: Re: Re: Using a List for the Listplot x-labels