thanks Remi and Martin,
I just needed to update fink to be able to list and then install octave.
My problem now is imagesc doesn't do anything. I had this problem in the last version I grabbed, but never resolved it. I don't get any errors, but no figure or image appears. Do I need to install additional programs (I saw a message that mentioned using ImageMagick)?
Yes. If you read "help imagesc" and then "help image", you see:
It first tries to use `display' from `ImageMagick' then `xv' and then `xloadimage'.
So you need at least one of these installed. Xloadimage doesn't seem to exist in Fink, so you are reduced to imagemagick or xv. In both cases, you need X11 running for this to work.
If you don't want to install these, it would probably be very easy to modify image.m and saveimage.m to use either GraphicConverter or another viewer (for example aview) to show the ppm image, or to save the image as ps and to use Preview to show it. The following is working for me as a replacement of imagesc(A), for example:
FILE='/tmp/A.ppm' saveimage (FILE,imagesc(A),'ppm') system(['open -a GraphicConverter ',FILE])
Note that the function plot works fine, bringing up a figure displayed with aquaterm or gnuplot depending on whether I'm using Terminal or X11.
Plot uses gnuplot which in turn plots in an aquaterm or in an xterm, depending on your environment. Gnuplot is always installed, because octave has a dependency on it.
-- Martin
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
