Re: Why does "Normal" not create a list of line graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg114001] Re: Why does "Normal" not create a list of line graphics
- From: "Carl K. Woll" <carlw at wolfram.com>
- Date: Sat, 20 Nov 2010 06:13:47 -0500 (EST)
On 11/19/2010 4:10 AM, arw235 wrote: > Can anyone suggest why the behavior is different in each of the > following: > > This doesn't work: > > In[95]:= v = {{{1, 0}, {0, 1}}, {{-1, 0}, {0, -1}}}; > Normal[GraphicsComplex[v, Line[{1, 2}]]] > > Out[96]= GraphicsComplex[{{{1, 0}, {0, 1}}, {{-1, 0}, {0, -1}}}, > Line[{1, 2}]] > > This does work: > > In[99]:= v = {{1, 0}, {0, 1}, {-1, 0}, {0, -1}}; > Normal[GraphicsComplex[v, Line[{1, 2, 3, 4}]]] > > Out[100]= {Line[{{1, 0}, {0, 1}, {-1, 0}, {0, -1}}]} > > > The documentation has: ?GraphicsComplex GraphicsComplex[{Subscript[pt, 1],Subscript[pt, 2],\[Ellipsis]},data] represents a graphics complex in which coordinates given as integers i in graphics primitives in data are taken to be Subscript[pt, i]. >> In your first version, v is not a list of coordinates, while in your second version v is a list of coordinates. Carl Woll Wolfram Research