Re: extracting a list to a list, help please
- To: mathgroup at smc.vnet.net
- Subject: [mg46201] Re: extracting a list to a list, help please
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Tue, 10 Feb 2004 00:06:55 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 2/9/04 at 5:54 AM, nospam at nospam.com (Serge) wrote: >I am a beginner in Mathematica and I have a rather simple question. >I made some calculations that I need for an orbit and I have a list >that look like this: >mylist1 = {{a1,b1,c1,d1},{a2,b2,c2,d2},{a3,b3,c3,d3},etc} >All I want to do is to make a list of the form >mylist2 = {{a1,b1},{a2,b2},{a3,b3},etc} >from the original list (mylist1), >so that I can ListPlot those pairs of points (they represent x and >y coordinates for some orbit). ListPlot[mylist1[[All, {1,2}]]] will do what you want -- To reply via email subtract one hundred and four