Gnuplot 绘图耦合数据
我无法理解,如果不编写输入文件,如何在Gnuplot 绘图耦合数据,gnuplot,Gnuplot,我无法理解,如果不编写输入文件,如何在Gnuplot中绘制耦合数据 假设我有以下格式的数据: (x_val, y_val) 我想做一些类似的事情: x <- [x_val_1, x_val_2, ... x_val_n] y <- [y_val_1, y_val_2, ... y_val_n] plot x y x如果我理解正确,您可以使用gnuplot的“-”伪数据文件: #for documentation, refer to # `help plot datafile s
Gnuplot
中绘制耦合数据
假设我有以下格式的数据:
(x_val, y_val)
我想做一些类似的事情:
x <- [x_val_1, x_val_2, ... x_val_n]
y <- [y_val_1, y_val_2, ... y_val_n]
plot x y
x如果我理解正确,您可以使用gnuplot的“-”
伪数据文件:
#for documentation, refer to
# `help plot datafile special-filenames`
# at the gnuplot prompt
plot '-' w points
1 2
3 4
5 6
7 8
9 10
11 12
e
如果您试图使用gnuplot计算点,那么这将不起作用。根据计算点的方式,可能可以在参数曲线上绘制点