XP is just a number | |
PerlMonks |
GD::Graph and Multiple Y Axesby ChrisR (Hermit) |
on Sep 26, 2010 at 16:28 UTC ( [id://862090]=perlquestion: print w/replies, xml ) | Need Help?? |
ChrisR has asked for the wisdom of the Perl Monks concerning the following question: I have been trying to make some graphs using GD::Graph::lines. I have run into a snag when trying to use multiple Y axes. I can configure the 1st axis with no problem at all. My problem is configuring the ticks for the second axis. I have tried using attributes like y1_tick_number, y2_tick_number, etc. but get the error No attribute 'y2_tick_number' I have tried specifying an array such as y_tick_number => [3,30] but the second element seems to get ignored. I have searched the documentation and the web but can't seem to find an answer. The idea is to provide a different set of ticks for the second data set. I would like to have 15 ticks numbered 10, 20, 30, etc. on the right side of the graph. Any help will be greatly appreciated. Here is a short example of my test code:
Chris Rogers
Back to
Seekers of Perl Wisdom
|
|