Re: How do you draw Triangles and other Geometric figures in Mathematica?
- To: mathgroup@smc.vnet.net
- Subject: [mg10996] Re: [mg10967] How do you draw Triangles and other Geometric figures in Mathematica?
- From: seanross@worldnet.att.net
- Date: Mon, 16 Feb 1998 03:40:02 -0500
- References: <199802140553.AAA01272@smc.vnet.net.>
Thomas D'Silva wrote: > > Hi > This is Thomas D'Silva. I was wondering if there was a way to draw > triangles, squres, rectangles, and other geometric shapes using > Mathematica. Please help!!! > > Thomas D'Silva > E-Mail: ben2255@worldnet.att.net If the shape you are looking for is not built in (check out the mathematica book section 2.9 and the Graphics`Shapes` package) I would think of using graphics primitives, specifically Line and draw them using vertices. For example Show[Graphics[Line[{{0,0},{0,1},{1,0},{0,0}}]],AspectRatio->1] Draws a right triangle. -- Remove the _nospam_ in the return address to respond.
- References:
- How do you draw Triangles and other Geometric figures in Mathematica?
- From: "Thomas D'Silva" <ben2255@worldnet.att.net>
- How do you draw Triangles and other Geometric figures in Mathematica?