Group Abstract Group Abstract

Message Boards Message Boards

0
|
51 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Recommended way of adding Text to Graphics & Arrow function

Posted 2 days ago
Attachments:
POSTED BY: Mitchell Sandlin
2 Replies

The error was because the curly braces did not include the second Text:

Graphics[{Red, Arrow[{{0, 0}, 1.1*{1, 1}}], 
  Text[Style["My Red Label", Bold, 14], {1.1, 1.1}, {0, -1}], Blue, 
  Arrow[{{0, 0}, .7*{5, 1}}], 
  Text[Style["My Blue Label", Bold, 14], .7*{5, 1}, {1, -1}]}, 
 Axes -> True, AxesLabel -> {"Foxes", "Rabbits"}, 
 LabelStyle -> {GrayLevel[0], Bold}]

I have added offsets to the texts.

POSTED BY: Gianluca Gorni

Thanks Again, your answer is exactly what I needed.

POSTED BY: Mitchell Sandlin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard