Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: graph 2 data sets from data on current line

by r0adawg (Beadle)
on Dec 22, 2010 at 01:38 UTC ( #878395=note: print w/replies, xml ) Need Help??

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.

  • Comment on Re^3: graph 2 data sets from data on current line

Replies are listed 'Best First'.
Re^4: graph 2 data sets from data on current line
by BrowserUk (Pope) 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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://878395]
[erix]: heh, you can record your tunes now, I hadn't seen that before
[erix]: and my solfège is a little rusty too
[stonecolddevin]: damn where's a working cblast? looks like several of them are out of commission
[erix]: Tanktalus home node has one

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-06-22 20:42 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (529 votes). Check out past polls.