Re: more with lists
- To: mathgroup at smc.vnet.net
- Subject: [mg40351] Re: more with lists
- From: Bill Rowe <listuser at earthlink.net>
- Date: Wed, 2 Apr 2003 04:37:09 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 4/1/03 at 4:52 AM, nmoore at physics.umn.edu (Nathan Moore) wrote: >suppose I have a list of n {x,y}pairs. I'd like to cull the list into >a smaller list for which the condition x<Xo, y>Yo is true. If the >list was 1-D I could simply use "Select," how do I access the data >points in pairs? You can still use Select to do this. Simply write it as Select[dataList,(First[#]<Xo && Last[#]>Yo)&]