Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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.


In reply to Re: How to add two array data into one GD plot? by dasgar
in thread How to add two array data into one GD plot? by heinz_zh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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> <u> <ul>
  • 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 intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2024-04-16 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found