2012-03-17 9 views
6

मैं साजिश के बीच में कुछ स्थान की कुंजी स्थानांतरित करना चाहते हैं, तो मैं ट्यूटोरियल का पालन किया और निम्न स्क्रिप्ट है:कुंजी (किंवदंती) निर्देशांक सेट करना काम नहीं करता है?

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 

हालांकि, जब मैं इसे चलाने मैं:

[email protected]:~$ gnuplot simulation.p 

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

मैं गलत क्या कर रहा हूं?

उत्तर

10

set key at 8,0.7 
     ^^ 

वर्क्स यहाँ कोशिश करो!

+0

शानदार! धन्यवाद। – Grzenio

+2

मुझे "ऑनलाइन" को छोड़ने वाले कई ऑनलाइन उदाहरण पढ़ने के बाद भी यही समस्या थी। धन्यवाद! –

संबंधित मुद्दे