1
$\begingroup$

How can one place the description/symbol "Alpha 40°" into the corner of a triangle drawn by Graphics/Triangle as it can be seen in the texts and drawings of Mathworld for example like one can see if he is looking for "Triangle"? Thanks a lot in advance.

$\endgroup$
  • $\begingroup$ Since you can input Unicode characters in Mathematica (e.g. FromCharacterCode[8736] for you case), your question is how to place text in a given position. You can look up the hep for Epilog. $\endgroup$ – Hector Aug 21 '16 at 19:41
  • 3
    $\begingroup$ Graphics[{Line[{{1, 0}, {0, 0}, {0, 1}, {1, 0}}], Text[Style[ FromCharacterCode[8736] <> "45" <> FromCharacterCode[176], FontColor -> Blue, FontSize -> 18], {.90, 0.03}]}] $\endgroup$ – Hector Aug 21 '16 at 19:45
1
$\begingroup$

For the sake of an answer (from the comment by Hector Aug 21 '16 at 19:45):

Graphics[{Line[{{1, 0}, {0, 0}, {0, 1}, {1, 0}}], 
  Text[Style[
    FromCharacterCode[8736] <> "45" <> FromCharacterCode[176], 
    FontColor -> Blue, FontSize -> 18], {.90, 0.03}]}]

enter image description here

$\endgroup$
  • $\begingroup$ BTW, it's CW and an upvote will take it off the unanswered list. $\endgroup$ – Michael E2 Jul 9 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.