MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Line and Polygon

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44367] RE: [mg44352] Line and Polygon
  • From: "Charles Stevens" <mathbone at isp01.net>
  • Date: Fri, 7 Nov 2003 05:16:10 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Virgil.  I'm not sure if this is what you want, but suppose I do

p = Show[Graphics[Polygon[{{0, 0}, {4, 1}, {3, 3}, {1, 2}, {0, 0}}]]]

This creates a nested list.  p[[1,1]] will give the entire list of vertices,
while p[[1,1,j] will give the jth vertice.

Chuck

-----Original Message-----
From: Virgil Stokes [mailto:Virgil.Stokes at it.uu.se]
To: mathgroup at smc.vnet.net
Subject: [mg44367] [mg44352] Line and Polygon


How can one extract the vertices from Line and Polygon?

--V. Stokes




  • Prev by Date: Mathematica fonts, pdflatex, and MiKTeX 2.4
  • Next by Date: "Irrational" limit behavior
  • Previous by thread: Re: Line and Polygon
  • Next by thread: Mathematica 5 crashes