Simple probability distribution function on gnuplot

  • Thread starter bert2612
  • Start date
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
 

Want to reply to this thread?

"Simple probability distribution function on gnuplot" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top