Converting {{a,b},{c,d}} to just {a,b},{c,d} ? [Summary]
- To: mathgroup at smc.vnet.net
- Subject: [mg28790] Converting {{a,b},{c,d}} to just {a,b},{c,d} ? [Summary]
- From: aes <siegman at stanford.edu>
- Date: Sat, 12 May 2001 20:18:23 -0400 (EDT)
- Organization: Stanford University
- References: <9diihi$ln1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> -----Original Query (rephrased)-----
> I want to define a Line or Polygon in the form
>
> Line[{--list of points--, Table[--], -- more points-- }]
I received numerous replies to this that suggested using Sequence[ ]
and/or Level[ ], but the suggestion from "Barthelet, Luc" <lucb at ea.com>
that I use
Line[ Join[{p1, p2, p3, p4}, Table[...,{i,5,20}] ] ]
seems to me cleanest, simplest, "readable", and works fine (at least for
the purpose I have in mind).