It depends on the gnuplot version you have.
There are many example [1,2,...] you can start with. Take inspiration from the demos.
The style of the image you shown is linepoints
, and you can plot the labels with the keyword with label
.
You can print 2 times the same dataset, one with the linespoints, and the second with the labels.
Start with
plot "data.dat" w linespoint, '' with labels
and give it a look. After find the offset you prefer.
The following code
set xlabel "My X Axes" set ylabel "My Y Axes" plot "data.dat" with linespoint lw 2 pt 11 \, '' with labels center offset 3.4,.5 notitle
gives you this image
In a second time you can modify the xrange
, yrange
... add logarithmic scale...