Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Getting values from two separate CSVs for manipulating charts?

    Heya,

    Hopefully I can explain my problem clearly.

    Currently, there is a program (MATLAB) on our server that spits out two files based on user input. A CSV containing the X-values of a chart, and a CSV containing the Y-values of a chart.

    I am kind of stumped on how to combine the X and Y values together from these two CSVs files so I can then create a graph based on these values.

    Even just being pointed in the right direction of what to research would be great.


    Additional info: We originally had it set so that Matlab would create the charts itself, but it would choke on the higher end values because the graphing function it uses is quite poor.

    Thanks for any help!

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,600
    Thanks
    208
    Thanked 2,593 Times in 2,571 Posts
    What has this to do with Javascript?

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #3
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry, I forgot to mention the JavaScript. I was trying to do this through JavaScript so I could hook it up with Google's Chart API.

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    29,411
    Thanks
    85
    Thanked 4,907 Times in 4,868 Posts
    This CAN be done via JavaScript.

    If you are still interested, reply again in this thread.
    Be yourself. No one else is as qualified.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •