diff options
Diffstat (limited to 'graphics/asymptote/examples/orthocenter.asy')
-rw-r--r-- | graphics/asymptote/examples/orthocenter.asy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/asymptote/examples/orthocenter.asy b/graphics/asymptote/examples/orthocenter.asy index 5c6807b4f2..8470de7fdd 100644 --- a/graphics/asymptote/examples/orthocenter.asy +++ b/graphics/asymptote/examples/orthocenter.asy @@ -3,6 +3,8 @@ import math; size(7cm,0); +asy(nativeformat(),"examples/Pythagoras"); + real theta=degrees(asin(0.5/sqrt(7))); pair B=(0,sqrt(7)); @@ -20,8 +22,6 @@ perpendicular(Cp,NE,Cp--O,blue); draw(A--B--C--cycle); -currentpen=black; - draw("1",A--O,-0.25*I*dir(A--O)); draw(O--Ap); draw("$\sqrt{7}$",B--O,LeftSide); @@ -37,4 +37,4 @@ dot("$A'$",Ap,dir(A--Ap),red); dot("$B'$",Bp,dir(B--Bp),red); dot("$C'$",Cp,dir(C--Cp),red); -label(graphic("piicon","width=2.5cm"),Ap,5ENE,red); +label(graphic(outdirectory()+"Pythagoras","width=2.5cm"),Ap,5ENE); |