http://www.perlmonks.org?node_id=878395


in reply to Re^2: graph 2 data sets from data on current line
in thread graph 2 data sets from data on current line from a file

Thanks for looking, I've posted my updated code... so far, I can get a graph image to appear for each line. however I'm not able to pull the data points in to be plotted. the data points are derived from line 2 and 3 of the data file located under __DATA__ all lines follow this output. I modified the output to allow for spaces and trailing zero's to total 2000 data points.

I'm not sure as how to pull into my data set those values. its contrived I know.. like I said before.. its my first attempt. that being said, I'm somewhat impressed that I have made its far... please if I have not included some information, let me know... I will add it if possible.

Replies are listed 'Best First'.
Re^4: graph 2 data sets from data on current line
by BrowserUk (Patriarch) on Dec 22, 2010 at 01:56 UTC

    Sorry, but having just looked again, I still have no clue what you are trying to achieve, or how the code you've posted is failing to live up to that requirement.

    You need to step back from the code you've written and write down a description of what you are trying to do in words. It doesn't have to be hugely detailed, but it should contain enough background detail that someone who has no knowledge of your problem can begin to see what you are trying to achieve.

    Until you can explain what you are trying to do, you will not stand a chance of doing it. And we will stand no chance of helping you.

    One technique that you may find useful I always knew as "the cardboard programmer", but is apparently better known by the term Rubber Duck Debugging.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^4: graph 2 data sets from data on current line
by r0adawg (Beadle) on Dec 27, 2010 at 18:05 UTC

    finished and done thanks to ahmad for the help understanding array of arrays