Octave + GNUPlot + Aquaterm + Mac OS 10.6

I'm trying to complete all of my MatLab-based homework in Octave, the open-source MatLab view.

However, I am having problems with the graphics, and I think this is a simple binding problem. I run: -Mac OS X Snow Leopard (10.6) -Octave 3.2.2 -Aquaterm 1.0.1 -GNUPlot 4.0

Here is an example of the errors I get from my 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> 

I do not have the unix foundation needed to fix this problem. Any suggestions / corrections?

+3
source share
4 answers
+1

aquaterm 1.0. 1, gnuplot 1.0. 0, , -, .

Mac, 1.0.0.dmg Aquaterm Sourceforge.

, gnuplot , .


, ( ), 1.0.0 1.0.1 . , , -. , !

+1

'/usr/local/lib/', , :

aquaterm-1.0.0 -> /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm 

, , gnuplot (... 1.0.1), AquaTerm:

aquaterm-1.0.1 -> /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm 

gnuplot. , gnuplot , :

Terminal type set to 'x11'
gnuplot> plot sin(x)

Octave:

octave-3.2.2:7> ezplot(f=inline('sin(x)'))

gnuplot> set terminal aqua enhanced title "Figure 1"
                      ^
         line 0: You can't change the terminal in multiplot mode


gnuplot> if (exists("GPVAL_TERM")) print GPVAL_TERM; else print NaN
                    ^
         line 0: invalid expression 

error: Invalid call to strcat.  Correct usage is:

 -- Function File:  strcat (S1, S2, ...)

, , gnuplot 4.0 . , Octave GNUPlot. gnuplot, , .

-Buffalo

+1

:

1: /Library/Frameworks/AquaTerm.framework /opt/local/Library/Frameworks/AquaTerm.framework. , 64- AquaTerm gnuplot

2: /Applications/AquaTerm.app /Applications/MacPorts/AquaTerm.app. , 64- AquaTerm .

Source: http://slashusr.wordpress.com/2010/01/17/gnuplot-with-aquaterm-on-osx-snow-leopard/

0
source

Source: https://habr.com/ru/post/1717169/


All Articles