help generating Plots on Mac Pro OSX 10.4.11
Stuart Borrett
stuart.borrett at gmail.com
Tue Mar 4 10:23:44 CST 2008
Ben, David, et al.,
Thank you for your help. I have installed Aquaterm on my Mac Pro and this
now allows Octave to plot.
I remain confused however as to why Octave can plot on my MacBook Pro. It
plots fine and as far as I can tell does not have Aquaterm installed.
One last thought. Is there anyway for Octave to take advantage of
Hyperthreading and/or multiple processors? I just ran a comparison with
Matlab, and Octave was MUCH slower and I believe the reason is that it could
only use one thread/core.
Thanks again for your help.
Respectfully,
Stuart
On Mon, Mar 3, 2008 at 7:58 PM, David Monarres <monarres at rohan.sdsu.edu>
wrote:
> 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
> > Help-octave at octave.org
> > https://www.cae.wisc.edu/mailman/listinfo/help-octave
> >
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
--
****************************************************************
Stuart R. Borrett, Ph.D.
Assistant Professor
University of North Carolina Wilmington
http://cll.stanford.edu/~sborrett/
******************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080304/b00e2c93/attachment-0001.html
More information about the Help-octave
mailing list