I often plot graphs in gnuplot prompt shell, like this:
gnuplot
gunuplot> plot sin(x) with linespoints pointtype 3
and the figure showe
Comment: you use a JPEG file as an example. You should probably never use JPEG for line plots unless they have photographs as backgrounds. JPEG is simply not designed to handle the sharp edges of line drawings.