Hello,
I have a sample data in file which is good for plotting histogram i.e. I have the "Value" column and the "Freq".
Here is the sample data:
Code:
Value Frequency
10 2
8 2
5 1
4 10
3 8
2 7
1 68
0 2
I am able to plot a histogram with the following gnuplot code:
Code:
set terminal pbm color
set output "hist.pbm"
set title "Latency Histogram"
set xlabel "Number of Data Points"
set ylabel "Latency in usecs"
plot [0:100] [0:10] "hist.dat" with steps
Now I would like to convert this data into a format which will help me in plotting a scatterplot. How can I modify the above gnuplot code or the data file to plot a scatterplot.
I know my explanation or language may not be clear but I would be happy to clarify it.
Any help will be appreciated...Thanks