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

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

by dasgar (Deacon)
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 http://gdgraph.com/.

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?
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984315]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-08-20 21:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (124 votes), past polls