有没有办法阻止gnuplot使用实心点?

时间:2015-06-29 16:53:33

标签: gnuplot

我自动为每个图形生成未知数量的输入文件的.plt文件。我的问题是当gnuplot为点选择实心形状(填充方形)时,实心点压倒所有其他类型的点。在gnuplot point types的这张图片中 有没有办法让我说不要使用5,7,11,13等?或者可能与此相反(使用1,2,3,4,6,8等)?

1 个答案:

答案 0 :(得分:1)

您可以使用set linetype选择使用的点类型:

set linetype 1 pt 1
set linetype 2 pt 2
set linetype 3 pt 3
set linetype 4 pt 4
set linetype 5 pt 6
set linetype 6 pt 8
set linetype 7 pt 10
set linetype 8 pt 12

set samples 11
plot for [i=1:8] i*x with points notitle

enter image description here