删除 Gnuplot 中的线点
Remove linespoints in Gnu plot
我在 Gnuplot 中用 linespoint 绘制了一个图表
gnuplot> plot "360 values.txt" title "Fidelity vs Time" lt 7 lc 0 w lp
现在我想改变只有线的线点
所以我用了
gnuplot> plot "360 values.txt" title "Fidelity vs Time" lt 7 lc 0 lw 4 w lines
但是现在整张图都消失了。
为什么?
如果数据文件中的点由空行分隔,Gnuplot 不会用线连接点。
来自文档 (help plot datafile
):
...
In datafiles, blank records (records with no characters other than blanks and
a newline and/or carriage return) are significant.
Single blank records designate discontinuities in a `plot`; no line will join
points separated by a blank records (if they are plotted with a line style).
Two blank records in a row indicate a break between separate data sets.
See `index`.
...
我在 Gnuplot 中用 linespoint 绘制了一个图表
gnuplot> plot "360 values.txt" title "Fidelity vs Time" lt 7 lc 0 w lp
现在我想改变只有线的线点 所以我用了
gnuplot> plot "360 values.txt" title "Fidelity vs Time" lt 7 lc 0 lw 4 w lines
但是现在整张图都消失了。 为什么?
如果数据文件中的点由空行分隔,Gnuplot 不会用线连接点。
来自文档 (help plot datafile
):
...
In datafiles, blank records (records with no characters other than blanks and
a newline and/or carriage return) are significant.
Single blank records designate discontinuities in a `plot`; no line will join
points separated by a blank records (if they are plotted with a line style).
Two blank records in a row indicate a break between separate data sets.
See `index`.
...