MathGroup Archive 2003

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

Search the Archive

RE: Line and Polygon


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