有没有办法阻止 gnuplot 使用实心点?
Is there a way to prevent gnuplot from using solid points?
我正在为每个图形的未知数量的输入文件自动生成 .plt 文件。我的问题是当 gnuplot 为点选择实心形状(用正方形填充)时,实心点压倒了所有其他类型的点。在这张 gnuplot point types 的图片中
有没有办法让我说不要使用 5、7、11、13 等?或者可能与此相反(使用 1、2、3、4、6、8 等...)?
您可以使用 set linetype
到 select 使用的点类型:
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
我正在为每个图形的未知数量的输入文件自动生成 .plt 文件。我的问题是当 gnuplot 为点选择实心形状(用正方形填充)时,实心点压倒了所有其他类型的点。在这张 gnuplot point types 的图片中 有没有办法让我说不要使用 5、7、11、13 等?或者可能与此相反(使用 1、2、3、4、6、8 等...)?
您可以使用 set linetype
到 select 使用的点类型:
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