我正在尝试使用Gnuplot绘制填充曲线。如果将Y范围设置为较大的值,则填充曲线的绘制就很好。但是,当我使用较小的Y范围时,曲线的某些部分没有填充颜色。
set terminal postscript color size 3.25,3.25 font "Helvetica, 8"
set output "test.ps"
set key at screen 0.95,0.70 right bottom
set border lt 1 lc 0 lw 1
set lmargin at screen 0.25
set rmargin at screen 0.95
set tmargin at screen 0.675
set bmargin at screen 0.15
set xlabel "X"
set ylabel "Y"
set xr [-1:2]
set yr [0:160]
set format x "%2.1f"
set style fill transparent solid 0.4
plot "data" w filledcurve x1 lt 1 lw 0.1 lc rgb "red"
数据文件在此处可用。 https://drive.google.com/drive/folders/1OIHLT2Mz4QGX3VKeZCGM_S4VjTO0FuOc?usp=sharing
任何评论或解决方案将不胜感激。谢谢大家!