After the text has been drawn on the image, put a thin black box around the text and draw a line from the bottom of the box to the associated data point.
当把文本绘制到图像上后,请用一个细黑框框起该文本,然后绘制一条从框的底部到相关数据点的直线。
When you run the program, be sure to pass the name of a PNG image file on the command line.
运行该程序时,请确保在命令行上输入了png图像文件的名称。
The 'lines' need not be actual lines - they could be the shape of a path, a line of trees, a fence, river or any other feature in an image.
所谓的线并不是条实际存在的线——它可以是一条小路、一排树、一排围栏、一条河或者其他任何在图中出现的东西。
应用推荐