Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

by r0adawg (Beadle)
on Dec 21, 2010 at 17:06 UTC ( #878309=note: print w/replies, xml ) Need Help??

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

so sorry, I'm trying to graph the last 2 lines in the data set which starts with samples and change... the layout of lines 2 & 3 are consistent with a leading '(' which is removed on the output. the first part of the output reads each of the 3 lines, the first line gets some ,'s and some 0'z based on data in the first line. lines 2 & 3 get some 0's to increase the total number of samples to about 2k. and the change being the height of the graph. with these repeating for each line into there own file name

the end result will be to have this graph embedded into an excel spreadsheet for the luck person to visually verify and adjust a program to more correctly decipher the object I'm monitoring, ie: increase its accuracy.

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

Replies are listed 'Best First'.
Re^3: graph 2 data sets from data on current line
by r0adawg (Beadle) on Dec 22, 2010 at 01:38 UTC

    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.

      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.

      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://878309]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-07-22 00:39 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (336 votes). Check out past polls.