I have a graph that looks like this:
I want to increase the size of the points in the legend (is it legend or key?) but without increasing the size of the points in the plot. It's explained better in the picture. Can this be achieved?
First plot nothing with increased symbol size, then plot the data without the key.
gnuplot> plot 1/0 ls 7 lw 6 with points t "0.0", "yourdata" ls 7 notitle
Use the same point style for both of the plots, and rename the first plot key as you wish.
Unless you are using filled circles (pt 7
) you may want to adopt this improvement of the Jari's answer which looks better as the points in the key are less fatty and more elegant:
plo 1/0 w p lc 1 pt 1 lw 3 ps 3 t "Data 1", "data1.dat" lc 1 pt 1 notitle,\
1/0 w p lc 3 pt 2 lw 3 ps 3 t "Data 2", "data2.dat" lc 3 pt 2 notitle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With