This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: PHYS 5900 Class 28 (11/09/2009) Zi-Wei Lin Two - Dimensional Graphics Two-Dimensional Graphics Primitives include Arrow[ ], Circle[ ], Disk[ ], Inset, GraphicsComplex, Line[ ], Point[ ], Polygon[ ], Rectangle[ ], Text[ ]. The full list can be found at GraphicsObjects in the documentation center. In:= ? Line Line @8 pt 1 , pt 2 , … <D is a graphics primitive which represents a line joining a sequence of points. Line @88 pt 11 , pt 12 , … < , 8 pt 21 , … < , … <D represents a collection of lines. In:= ? Rectangle Rectangle @8 x min , y min < , 8 x max , y max <D is a two- dimensional graphics primitive that represents a filled rectangle, oriented parallel to the axes. Rectangle @8 x min , y min <D corresponds to a unit square with its bottom- left corner at 8 x min , y min < . In:= ? Circle Circle @8 x , y < , r D is a two- dimensional graphics primitive that represents a circle of radius r centered at the point x , y . Circle @8 x , y <D gives a circle of radius 1. Circle @8 x , y < , r , 8 Θ 1 , Θ 2 <D gives a circular arc. Circle A8 x , y < , 9 r x , r y =E gives an ellipse with semi-axes of lengths r x and r y , oriented parallel to the coordinate axes. In:= ? Disk Disk @8 x , y < , r D is a two- dimensional graphics primitive that represents a filled disk of radius r centered at the point x , y ....
View Full Document
This note was uploaded on 04/25/2010 for the course PHYS 5900 taught by Professor Lin during the Fall '09 term at East Carolina University .
- Fall '09