http://qs1969.pair.com?node_id=82801

chinman has asked for the wisdom of the Perl Monks concerning the following question:

Hey, I'm in need of some Monk wisdom. I've been dorking around with GD::Graph to try to plot an x,y line graph with lots o' points (>1000). I've got the basics working fine. Well, I'd like to label the maxima, or maybe the 10 biggest y values by using the show_values option. The problem is if I turn labeling on with my "thousand points of light" I've got way too many data point labels and everything runs together. I'm wondering if anyone knows a way to label just a few without blowing away the rest of the points. I've tried using the $data->copy method, followed by setting values to undefined but that does not appear to do what I want. It seems like when you say show_values it always wants to show_values for all data points. Thanks in advance for the help!