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: [mg63687] Re: [mg63654] Re: Using a List for the Listplot x-labels
  • From: ggroup at sarj.ca
  • Date: Tue, 10 Jan 2006 01:48:42 -0500 (EST)
  • References: <200601090948.EAA29603@smc.vnet.net> <569360472.20060109031018@aggarwal.ca>
  • Reply-to: ggroup at sarj.ca
  • Sender: owner-wri-mathgroup at wolfram.com

On Monday, January 9, 2006 at 3:10 AM, I wrote:

> 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:

I take that back.  I restarted my computer, and Transpose is over 10
times faster than the other two methods...

> 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: Re: Re: Using a List for the Listplot x-labels
  • Next by Date: Re: Problems of NonlinearFit
  • Previous by thread: Re: Re: Using a List for the Listplot x-labels
  • Next by thread: Re: Using a List for the Listplot x-labels