help-octave
[Top][All Lists]
Advanced

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

Re: help generating Plots on Mac Pro OSX 10.4.11


From: David Monarres
Subject: Re: help generating Plots on Mac Pro OSX 10.4.11
Date: Mon, 3 Mar 2008 16:58:56 -0800

It appears that you do not have aqua term installed and are just using X11 to display your plots. The reason that it doesn't work when you are working from apple's terminal is that by default the display isn't exported. If you typed echo $DISPLAY in xterm then you would probably get :0.0. Try typing export DISPLAY=:0.0 in the terminal before your start octave and see if the plots show up.
(making sure that X11 is running)

Another, probably better way, is to install aquaterm and set up gnuplot to use this as your output.


On Mar 3, 2008, at 4:40 PM, Ben Abbott wrote:


On Mar 3, 2008, at 10:06 AM, Stuart Borrett wrote:

I recently downloaded and installed both octave 3.0 and gnuplot 4.2
onto my Mac Pro running OSX 10.4.11.  I can run Octave successfully
from both the Terminal application and the xterm for X11.  When I
type plot(1:10) in the xterm, it generates the appropriate gnuplot.
However, when I issue the same command from mac Terminal or from
inside Emacs no figure appears.  I do not get an error message; it
seems to have worked just fine except that it does not draw the graph!

I would appreciate any help you might provide.

Stuart

PS.  It works just fine on my MacBook Pro running OSX 10.4.11 using
the same disk images for Octave 3.0 and GNU Plot.

I had the same problem with OSX 10.4. I don't recall the details that
led to a resolution, but I do have a few questions that will hopefully
help.

(1) From where did you get Octave?
(2) Do you have Aquaterm installed?
(3) What do you get when the following is typed in a terminal window?

        echo $GNUTERM
        echo $GNUTERMAPP

(4) What do you get when you type "gnuplot<TAB><TAB>" ... does the
terminal display "gnuplot    gnuplotx"?
(5) When you run gnuplot, does it immediately respond "Terminal type
set to 'aqua'"?
(6) What happens when you type "plot sin(x)" from the gnuplot prompt?

Ben


_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

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