I wish to make a 2D scatterplot in gnuplot but I don't know how to do
this. the ame is to show the relationship between the data.
My data looks like this:
clubtitles budget
2 1524.200
2 2419.000
2 1925.000
1 2107.400
7 2080.000
5 2025.000
3 2115.000
5 2213.400
5 3021.600
4 2958.000
0 3284.600
3 2706.000
3 2411.800
1 2486.600
0 2880.000
0 2735.000
1 2761.000
0 3098.600
0 2843.400
3 2612.000
0 2612.000
0 2576.000
1 2732.000
1 2912.000
3 4086.000
0 2080.000
4 2480.000
1 2330.000
Can anyone help me with this?
Thanks,
Robin
> Hi,
>
> I wish to make a 2D scatterplot in gnuplot but I don't know how to do
> this. the ame is to show the relationship between the data.
The usual way to draw a scatterplot is
plot "datafile" using 1:2 with dots (or maybe "with points pt 7")
But that will not be very informative in your case, because your
x coordinates are mostly the same.
How about:
plot 'scatter.dat' using ($1 + $0/100.):2 with impulses