How to change dot size in gnuplot

user69910 picture user69910 · May 22, 2013 · Viewed 113.7k times · Source

How to change point size and shape and color in gnuplot.

plot "./points.dat" using 1:2 title with dots

I am using above command to plot graph ,but it shows very small size points.

I tried to use command

set pointsize 20

but still point size is same.

Answer

Schorsch picture Schorsch · May 22, 2013

Use the pointtype and pointsize options, e.g.

plot "./points.dat" using 1:2 pt 7 ps 10  

where pt 7 gives you a filled circle and ps 10 is the size.

See: Plotting data.