Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Section 3.5.4

Section 3.5.4

1.

3.
ClearAll ["Global ' * "]
											twoTriangles = {
											Thickness [0.008],
											Line [{{–4, 0}, {4, 0}, {0, 6}, {–4, 0}}],
											Line [{{–4, 4}, {4, 4}, {0, –2}, {–4, 4}}]};
											sixVertices = {
											PointSize [0.075],
											Transpose [{
											Table [RGBColor [Random [], Random [], Random [] ], {6}],
											Point/@{{–4, 0}, {4, 0}, {0, 6}, {–4, 4}, {4, 4}, {0, –2}}}]};
											Graphics [{twoTriangles, sixVertices}]

5.
Graphics [
											{{Green, Polygon [{{0, 10}, {5, 16}, {10, 10}}],
											Polygon [{{1, 15}, {5, 21}, {9, 15}}],
											Polygon [{{2, 20}, {5, 25}, {8, 20}}]},
											Rectangle [{4.5, 5}, {5.5, 10}],
											{Red, Rectangle [{2, 2}, {8, 5}]},
											Text [Style ["Merry x' mas",
											FontFamily → "Times", 14, Yellow], {5, 3.35}]}]

7.



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint