[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems plotting on Mac OS X 10.4

From: Matthias Brennwald
Subject: Re: Problems plotting on Mac OS X 10.4
Date: Sat, 10 Jun 2006 13:58:23 +0200

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 error
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!

Norm Hecht
Westminster, CO


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 disk, hidden away somewhere, waiting for your installation. With X11, you need to start
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. I don't
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 terminal
session, without X11. There are arguments both for and against aquaterm, but
it is my primary plot output with octave.


Two comments on this:

- X11 would propably reside here (if it was installed): /Applications/ Utilities/

- You can run Octave (or any other terminal application interacting with X11) from, which I find sleeker than the X11 terminal. If you use the bash shell, just put this in your .bashrc file (which is in your home, or otherwise you'll have to create it first):

[[ -z $DISPLAY ]] && export DISPLAY=":0.0"

The next time you open a Terminal window, you can run X11 apps from there. But I believe X11 should be running before starting the X11 app (I have X11 opened automatically at login).


Matthias Brennwald
Lägernstrasse 6
CH 8037 Zürich
+41 (0)44 364 17 03

reply via email to

[Prev in Thread] Current Thread [Next in Thread]