class28 - PHYS 5900 Class 28 (11/09/2009) Zi-Wei Lin Two -...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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[1]:= ? 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[2]:= ? 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[3]:= ? 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[4]:= ? 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 .

Page1 / 12

class28 - PHYS 5900 Class 28 (11/09/2009) Zi-Wei Lin Two -...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online