Hi,
I guess you create PNG images. If it's so, it is possible that the long time is spent in the compression library that compresses the PNG image data. I encountered that problem once when I created many many images in gnuplot. You can look at that thread here. (And more of it took place in the comp.graph.apps.gnuplot newsgroup ;-)

Maybe for you (as a beginner as you said) it would be wise to stick with the gnuplot program for the start. It is easy to learn/use and you can just open a pipe to it. A quick start: www.gnuplot.org

Actually that is what I usually do; no matter if coding data-stuff in perl or algorithm-ism in C/C++

Update:
1. There is also a way to handle time-data in gnuplot which may come out usefull for your problem
2. I'm not pointing you to any CPAN modules because I think, if you're new to the world of perl you may not want to install your own modules right now (but -of course- you will in -say- 6 months *grin*)

Regards Stefan K


In reply to Re: Graphing by stefan k
in thread Graphing by tcallahan

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.