6
Tôi muốn di chuyển chìa khóa dẫn đến một số vị trí ở giữa của cốt truyện, vì vậy tôi đi theo các hướng dẫn và có kịch bản sau đây:Đặt tọa độ khóa (chú thích) không hoạt động?
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
Tuy nhiên, khi tôi chạy nó tôi nhận được:
[email protected]:~$ gnuplot simulation.p
set key 8,0.7
^
"simulation.p", line 7: unknown key option
Tôi đang làm gì sai?
Brilliant! Cảm ơn. – Grzenio
Tôi đã có cùng một vấn đề sau khi đọc rất nhiều ví dụ trực tuyến bỏ qua "tại". Cảm ơn! –