Octave does't start
By egayer at Thu, Nov 23 2006 9:03am |
Hi,
I just moved to octave (because of the price of matlab) and I installed octave following the Mac OS X High Performance Computing website
http://hpc.sourceforge.net/
But when I call octave in my X11 window I get :
[egayer:~] egayer% octave
tcsh: octave: Command not found.
is that something to do with my setenv ? should I add a new path in the setenv ? but i don't know which one...
Thank you for your help
Eric



RE: Octave doesn't start
Hi,
You need to update your PATH or set an alias. On my mac octave is installed under /usr/local/bin/octave. In any case you can use locate octave to find octave (if your locatedb is up to date, anyway you can run sudo periodic weekly if you have an administrator account). then you update your path or set an alias in your .tcshrc.
Dorian
Thanks Dorian, I updated the
Thanks Dorian, I updated the path and everything goes right now... exept for the imagesc function...
When I call imagesc to make the image of a matrix, then nothing happens.. no error message and no figure...
I have Octave 2.9.9, Gnuplot 4.0 and Aquaterm. In my .cshrc I added
setenv GNUTERMAPP /Applications/AquaTerm.app
setenv GNUTERM aqua
The problem is that I can plot simple curves, it works but I can't see any image. I ran, under gnuplot, some exemples from Gnuplot demo web page (http://gnuplot.sourceforge.net/demo/pm3d.html) and it works fine, everything appears in the Aquaterm window...
I don't understand...
Octave / Aquaterm
Mh... if you set setenv DISPLAY :0.0 and X11 is running then imagecs(rand(1000,1000)) works. I just don't understand why octave is using X11 when it is told to use Aquaterm. If I set DISPLAY :0.0 the usual "plot" command doesn't work. There seems to be a problem with aquaterm. I found the following in another forum:
"When a graphical output has a continuous range of color or gray scale, such
as a photograph, octave doesn't currently have a way to pass scale
information to gnuplot/aquaterm. As a workaround, Paul Kienzle's bmpwrite.m
is used for image.m on a Mac. This allows the image to be written into the
.bmp format, which is then automatically opened by the OS X in Preview.
The latest gnuplot 4.0/Aquaterm 1.0 combination now has color/gray scale
capabilities. It's a matter of developing the necessary routines. "
The file "bmpwrite.m" can be found at http://www.koders.com/matlab/fid03B787F5A6E42DF55E969587E109EB150C38551B.aspx. You just need to place the file in your working directory. In this case you doesn't have to set DISPLAY.
I'm sorry, but I don't know another solution...
I've actually got the same problem
I've actually got the same problem, but I thought I'd share a few things I've found out about it
The functions image and imagesc require either xv, ImageMagik or xload image to work (according to help image) and these are the only functions (so far as I can tell) that I don't have working.
I have both vx and ImageMagik installed, so this can't be the whole problem.
I've read that you need to include a zoom value (ie Imagesc(A,100) instead of imagesc(A)), because the unzoomed image is too small to see. This didn't fix it for me, either.
I'm running Octave 2.9.9, gnuplot 4.1 and Aquaterm.
Hopefully this information is helpful
and I'd certainly appreciate any that you find out
thanks