Octave, gnuplot, and AquaTerm

Today I decided to bring out octave again to work on some Numerical Computing problems.  I was encountering an issue I had run into previously, but had worked around a bit.  Specifically, the issue is that when octave tries to use gnuplot, it defaults to AquaTerm as the graphics terminal.  Now, when you use gnuplot on its own and AquaTerm is not detected, gnuplot correctly defaults to X11 as an alternative.  However, somehow this does not seem to be the case when octave calls out to gnuplot.

I tried installing AquaTerm.  Even then, neither gnuplot nor octave recognized that AquaTerm was installed.

To address the problem:
    1. Uninstall gnuplot- I had originally installed gnuplot via homebrew.  I went ahead and uninstalled gnuplot.
    2. Install the latest version of AquaTerm: http://sourceforge.net/projects/aquaterm
    3. Re-install gnuplot.  Again, the easiest approach here is to use homebrew.


It seems that the problem was that during the installation of gnuplot, the AquaTerm dynamic libraries were not discovered.  If AquaTerm is installed before gnuplot, the libraries are placed in the correct location.  Then, during the gnuplot build the libraries are properly identified.

These were the errors I was seeing before I managed to address the issue:
     
Unknown or ambiguous terminal name 'aqua'
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

Now everything works fine, and I'm able to draw beautiful graphs to AquaTerm.


转自 http://deveneezer.blogspot.com/2013/06/octave-gnuplot-and-aquaterm.html

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值