class29 - PHYS 5900 Class 29 (11/11/2009) Zi-Wei Lin...

Info iconThis preview shows pages 1–4. 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

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 29 (11/11/2009) Zi-Wei Lin Two-Dimensional Graphics Directives include GrayLevel[ ], RGBColor[ ], Hue[ ], Opacity[ ], PointSize[ ], AbsolutePointSize[ ], Thickness[ ], AbsoluteThickness[ ], Dashing[ ], AbsoluteDashing[ ], Arrowheads[ ], EdgeForm[ ], FaceForm[ ], Directive[ ]. The absolute scale is measured in units of printer’s points, equal to 1/72 of an inch before magnification. Some of the above commands with a size argument take symbolic values: Tiny, Small, Medium, Large. Example 3.5.2 Show the trajectory of a projectile that is aimed at a target that falls from rest at the moment when the projectile is fired. v Θ Point of collision In[1]:= gpTraj = Plot @H 10 15 L * x- H 7 225 L * x ^ 2, 8 x, 0, 15 <D Out[1]= 2 4 6 8 10 12 14 0.5 1.0 1.5 2.0 2.5 3.0 3.5 In[2]:= Show @ gpTraj, Axes fi False D Out[2]= In[3]:= gLine = 8 Line @88 0, < , 8 5, <<D , 8 Dashing @8 0.04, 0.02 <D , Line @88 0, < , 8 15, 10 <<D , Line @88 15, 10 < , 8 15, 3 <<D< < ; 2 class29.nb In[4]:= Show @ gpTraj, Graphics @ gLine D , Axes fi False, PlotRange fi All D Out[4]= In[5]:= gArrow = 8 8 Arrowheads @ Large D , Thick, Arrow @88 0, < , 8 5, 5 * 10 15 <<D , Arrow @88 15, 10 < , 8 15, 7 <<D< , Arrow @88 12., 3.5 < , 8 12.2295, 3.5 <<D , Arrow @88 12, 1 < , 8 14, 2 <<D < ; In[6]:= Solve @H 10 15 L * x- H 7 225 L * x ^ 2 3.5 D Out[6]= 88 x fi 9.19906 < , 8 x fi 12.2295 << In[7]:= Show @ gpTraj, Graphics @8 gLine, gArrow <D , Axes fi False, PlotRange fi All D Out[7]=...
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 / 10

class29 - PHYS 5900 Class 29 (11/11/2009) Zi-Wei Lin...

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

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