help-octave
[Top][All Lists]
Advanced

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

Re: Problems plotting on Mac OS X 10.4


From: Joe Koski
Subject: Re: Problems plotting on Mac OS X 10.4
Date: Fri, 09 Jun 2006 19:30:53 -0600
User-agent: Microsoft-Entourage/11.2.3.060209

on 6/9/06 7:07 PM, Norm Hecht at address@hidden wrote:

> Hello,
> 
> 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
> after
> 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/
> site/m/octave-forge/plot/gget.m'
> error: evaluating assignment expression near line 134, column 12
> error: called from `print' in file `/usr/local/share/octave/2.1.73/
> site/m/octave-forge/plot/print.m'
> error: near line 35 of file `/Users/NKH/Documents/Academics/IMU
> Project/IMU_base/ap_data/airframe_alt_v_plot.m'
> 
> 
> 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

Norm,

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 X11.app
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.

Joe





reply via email to

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