This function draws the element’s name.
This is the name of the activity.
This is the color to be used for the activity name.
This is the coordinate location for placing the activity name.
{
printf("\n string %s at %f, %f in color %d\n",
s, x1, y1, color);
}The information is printed in a textual report. However, you can write a program routine to use this information in a plot.