gpt4 book ai didi

gnuplot - 设置关键(图例)坐标不起作用?

转载 作者:行者123 更新时间:2023-12-02 10:44:02 26 4
gpt4 key购买 nike

我想将关键点移动到情节中间的某个位置,因此我按照教程进行操作并编写了以下脚本:

set terminal postscript eps enhanced color
set title "Risk of the loan"

set output 'simulation.eps'
set xlabel 'Initial loan value'
#set key height 24
set key 8,0.7

plot 'simulation.txt' using 1:2 title 'Discounted loan value' with lines lw 3,\
'simulation.txt' using 1:3 title 'VaR' with lines lw 3,\
'simulation.txt' using 1:4 title 'CVaR' with lines lw 3,\
'simulation.txt' using 1:5 title 'Probability of default' with lines lw 3

但是,当我运行它时,我得到:

ga1009@ga1009-dell:~$ gnuplot simulation.p

set key 8,0.7
^
"simulation.p", line 7: unknown key option

我做错了什么?

最佳答案

尝试

set key at 8,0.7
^^

在这里工作!

关于gnuplot - 设置关键(图例)坐标不起作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9751580/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com