Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Simple probability distribution function on gnuplot

  1. May 8, 2012 #1
    Hi, I am trying to plot a graph I have made using excel on gnuplot. I have converted the excel book to a csv file and the data I have looks like this

    0,0.166341305
    1,0.000000159
    2,0.000000159
    3,0.000000159
    4,0.000000159
    5,0.000000159
    ...
    and so on for 2048 different points.

    The data in the left column goes from 0 to 2047, these represent each value in the x-axis
    The data in the right column are the points I want to plot, all of them will be below 0.2 so I need my y-axis to range from 0 to 0.2.
    I have tried putting this into gnuplot but when I do I just it just plots the values in the left column, so I end up with a straight line graph for y=x. I am new to this package so any help will be appreciated. Thanks
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted