我正在尝试在 Octave 中完成所有基于 MatLab 的家庭作业 - MatLab 的开源表示。
但是,我在绘制图表时遇到问题,我认为这是一个简单的链接问题。我正在运行:-Mac OS X Snow Leopard (10.6) -Octave 3.2.2 -Aquaterm 1.0.1 -GNUPlot 4.0
这是我从 shell 中得到的错误示例:
Mr-Buffalo:~ buffingtonr$ gnuplot
dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
Referenced from: /usr/local/bin/gnuplot
Reason: image not found
Trace/BPT trap
octave-3.2.2:1> f = inline('x^2')
f(x) = x^2
octave-3.2.2:5> ezplot(f)
dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
Referenced from: /usr/local/bin/gnuplot
Reason: image not found
dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
Referenced from: /usr/local/bin/gnuplot
Reason: image not found
error: you must have gnuplot installed to display graphics; if you have gnuplot installed in a non-standard location, see the 'gnuplot_binary' function
octave-3.2.2:6>
我没有解决此问题所需的 unix 基础。有什么建议/修复吗?