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!
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.