on 6/9/06 7:07 PM, Norm Hecht at address@hidden wrote:
I've found two problems using Octave on my new Intel Mac.
First, I'm having a problem with the figure command: I get this
typing "figure" at the octave command prompt.
dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from: /usr/local/libexec/gnuplot/4.0/gnuplot_x11
Reason: image not found
Second, when I try to use the print command to send the plot to
a pdf, I get this:
sh: line 1: kpsexpand: command not found
gnuplot> set term pdf;
line 0: unknown or ambiguous terminal type; type just 'set
terminal' for a list
warning: in /usr/local/share/octave/2.1.73/site/m/octave-forge/plot/
gget.m near line 55, column 3:
warning: connection to external plotter (pid = 6898) lost --
warning: please try your plot command(s) again
warning: broken pipe -- some output may be lost
error: gnuplot not responding
error: evaluating if command near line 57, column 5
error: evaluating while command near line 55, column 3
error: called from `gget' in file `/usr/local/share/octave/2.1.73/
error: evaluating assignment expression near line 134, column 12
error: called from `print' in file `/usr/local/share/octave/2.1.73/
error: near line 35 of file `/Users/NKH/Documents/Academics/IMU
Here are the version numbers:
Octave 2.1.73 (i386-apple-darwin8.5.3).
OS X 10.4.6
AquaTerm v1.0 (1.0)
gnuplot version 4.0, patchlevel 0
X11 ? (I can't find it--is this part of the problem?)
Thanks for your help!
First, I don't have an Intel Mac (you lucky guy). I have an old G5.
First, do you have X11 installed? It is on your OS X system DVD
away somewhere, waiting for your installation. With X11, you need
octave within an xterm, which opens automatically when you start X11.
In addition there is an X11.sdk, which is above and beyond the
installation. It applies bells and whistles to the X11 application.
know when or if it is used, but I have it installed.
I don't know if aquaterm is available yet for Intel Macs. It is an
alternative to X11 that lets you do plots directly from a Mac
session, without X11. There are arguments both for and against
it is my primary plot output with octave.