我在分配yrange变量时遇到麻烦,然后在gnuplot脚本的其余部分中使用它。
我将yrange变量分配为Y11 = -10和Y22 = 10 并尝试在yrange中将其用作set yrange [“ $ Y11”:“ $ Y22”] 和 将箭头从0.0,“ $ Y11”设置为0.0,“ $ Y22”无头 将箭头从0.67643,“ $ Y11”设置为0.67643,“ $ Y2”无头 但这给了我错误 “ plot.gnu第66行”,无法以空的y范围进行绘图!
这是简单易变的努力
Y11=-10
Y22=10
想在
中使用set yrange ["$Y11":"$Y22"]
和
set arrow from 0.0,"$Y11" to 0.0,"$Y22" nohead
set arrow from 0.67643,"$Y11" to 0.67643,"$Y22" nohead
能否请我更正,以便我可以存储yrange变量,然后按上述说明在脚本的其余部分中使用它?