0
$\begingroup$

I have a line graph, Given some certain points on the graph, I wish to add some explanation on them, such as this:

alt text

Is there any mathematical algorithm that allows me to overlay my explanation textbox "nicely" on the graphs, avoiding self overlapping as far as possible?

I understand that "nicely" is quite a subjective term, but all I want is that those text fields must be laid out as evenly as possible.

  • 3
    For your sake, this is what graph theory is: http://en.wikipedia.org/wiki/Graph_theory2011-01-12

1 Answers 1

2

See http://en.wikipedia.org/wiki/Automatic_label_placement