projects
/
course.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e8de7
)
Add Mass label alignment tests to Mechanics-test.asy.
author
W. Trevor King
<wking@drexel.edu>
Wed, 11 Apr 2012 19:11:28 +0000
(15:11 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 11 Apr 2012 19:11:28 +0000
(15:11 -0400)
asymptote/Mechanics-test.asy
patch
|
blob
|
history
diff --git
a/asymptote/Mechanics-test.asy
b/asymptote/Mechanics-test.asy
index cf40947a81df394dcf1c78881e5d21ba2e289687..a99f0887eaa1c14a5c11d8109c38563649b8877f 100644
(file)
--- 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}$");