in reply to GD::Graph and Multiple Y Axes

Multiple y axis ticks it is not possible, and it has been asked here before, IIRC. Google for " GD graph multiple y axis".

Usually, the advice is to go with a more powerful graph generation program, like GnuPlot or PGPlot.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: GD::Graph and Multiple Y Axes
by ChrisR (Hermit) on Sep 26, 2010 at 18:57 UTC
    Thanks. I will look into both. Is there a general preference among the Monks?
    Chris Rogers
      As an after thought, considering the hubris and ingenuity of perl programmers, there may be a way to hack a GD solution, by stitching together 2 GD images. The first, would be your normal graph, and the second would be just an custom image containing your second y axis, which you would overlay and stitch to the right side of the actual graph.

      I would look at the demo pages for each program, like gnuplot demo page and see if you find a model you like, especially on gnuplot axis tic demo

      It looks like they call the second independent y-axis a "z-range".


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh