Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: How to add two array data into one GD plot?

by dasgar (Priest)
on Jul 29, 2012 at 22:07 UTC ( #984315=note: print w/replies, xml ) Need Help??

in reply to How to add two array data into one GD plot?

It sounds like others might have given you enough help for you to figure out what you're wanting to do.

In case you're interested, I recently found a web site that had some examples of different kinds of graphs you can do with GD::Graph. The site is at

On one hand, they provide code for their sample charts. On the other hand, their code is calling in another Perl script and calling subroutines from that script. Unfortunately, that script is not provided. (At least, I couldn't find it.) Basically, all that script is actually writing out the chart to a file. If you look at the documentation for GD, you should be able to figure out the syntax needed to finish the scripts to save the charts as picture files of your desired format (jpg, png, etc.).

At times, I personally find it easier to look at example code rather than reading through documentation when learning a new module. I personally found the sample code offered on this site to be useful to me, so I thought I'd share this information in case it helps others.

  • Comment on Re: How to add two array data into one GD plot?

Replies are listed 'Best First'.
Re^2: How to add two array data into one GD plot?
by Anonymous Monk on Jul 30, 2012 at 04:01 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984315]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-04-26 16:14 GMT
Find Nodes?
    Voting Booth?