2014-03-02 1 views
0

우분투에서 gnuplot을 시작하고 싶습니다. 소프트웨어를 성공적으로 설치했지만 사인 기능을 그릴 때 오류 메시지가 나타납니다. 이 문제를 해결하고 내 사인 함수의 플롯을 얻는 방법을 모르겠습니다.우분투 환경에서 gnuplot 시작하기

[email protected]:~$ gnuplot> plot sin(x) 
bash: syntax error near unexpected token `(' 

답변

1

는 먼저 (유형의 gnuplot를 눌러 입력)의 gnuplot 시작해야하고, 당신은 (귀하의 경우 plot sin(x)에) 명령 줄에있을 때. 터미널에서 확인해야 할 내용은 다음과 같습니다.

~$ gnuplot 

G N U P L O T 
Version 4.6 patchlevel 0 last modified 2012-03-04 
Build System: Linux x86_64 

Copyright (C) 1986-1993, 1998, 2004, 2007-2012 
Thomas Williams, Colin Kelley and many others 

gnuplot home:  http://www.gnuplot.info 
faq, bugs, etc: type "help FAQ" 
immediate help: type "help" (plot window: hit 'h') 

Terminal type set to 'wxt' 
gnuplot> plot sin(x) 
+0

답변 해 주셔서 감사합니다. 그것은 아주 잘 작동합니다! –

+0

안녕하세요! 터미널로 돌아 가기 위해서는 무엇을해야합니까? 고맙습니다! –

+0

매우 간단합니다. 그냥 "exit"라고 입력하십시오. –