From: W. Trevor King Date: Wed, 11 Apr 2012 19:11:28 +0000 (-0400) Subject: Add Mass label alignment tests to Mechanics-test.asy. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8234419cc45de1aa7924492575386c5ea8d0fffa;p=course.git Add Mass label alignment tests to Mechanics-test.asy. --- diff --git a/asymptote/Mechanics-test.asy b/asymptote/Mechanics-test.asy index cf40947..a99f088 100644 --- a/asymptote/Mechanics-test.asy +++ b/asymptote/Mechanics-test.asy @@ -43,8 +43,8 @@ lc.label.align = E; lc.draw(); Mass a = Mass(center=(0,0)); -Mass b = Mass(center=(2u,1u)); -Mass c = Mass(center=(1u,-2u)); +Mass b = Mass(center=(2u,1u), Label("$m_b$", align=N)); +Mass c = Mass(center=(1u,-2u), Label("$m_c$", align=E)); Mass ms[] = {a,b, c}; Distance dab = Distance(a.center(), b.center(), scale=u, L="$r_{ab}$"); Distance dac = Distance(a.center(), c.center(), scale=u, L="$r_{ac}$");