在Ubuntu环境中开始使用gnuplot

在Ubuntu环境中开始使用gnuplot,ubuntu,gnuplot,Ubuntu,Gnuplot,我想在Ubuntu中开始使用gnuplot。我已成功安装该软件,但在尝试绘制正弦函数时收到错误消息。我不知道如何解决这个问题,然后得到我的正弦函数图 turbulence@turbulence-LIFEBOOK-AH531:~$ gnuplot> plot sin(x) bash: syntax error near unexpected token `(' 您必须首先启动gnuplot(键入gnuplot并按enter键),然后在运行时发出命令(在您的情况下,plot sin(x))。

我想在Ubuntu中开始使用gnuplot。我已成功安装该软件,但在尝试绘制正弦函数时收到错误消息。我不知道如何解决这个问题,然后得到我的正弦函数图

turbulence@turbulence-LIFEBOOK-AH531:~$ gnuplot> plot sin(x)
bash: syntax error near unexpected token `('

您必须首先启动gnuplot(键入gnuplot并按enter键),然后在运行时发出命令(在您的情况下,
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)

谢谢你的回答!它工作得很好!嘿返回航站楼应该做些什么?非常感谢。美国在台协会很简单:只要输入“退出”就可以了。除了谷歌,你在gnuplot中输入
help
就可以看到gnuplot的大部分命令。太棒了!gnuplot的世界确实是一个更好的地方!!A.