From owner-help-octave at bevo dot che dot wisc dot edu Fri Mar 14 08:12:03 1997 Subject: Re: Plotting From: Andreas Weingessel To: Vincent PAROUX Stagiaire ENIB CC: help-octave at bevo dot che dot wisc dot edu Date: Fri, 14 Mar 1997 15:18:09 +0100 >>>>> On Fri, 14 Mar 1997 13:47:48 +0100, >>>>> Vincent PAROUX Stagiaire ENIB wrote: > Hello, > My problem is that I have a matrice[101;201] of values that I want to > plot in 2D dimension using a colormap. > Is it possible and how can I do ?=20 There should be a file "image.m" in your octave distribution. ---------------------------------------------------------------------- octave:68> help image image is the function defined from: /usr/local/lib/octave/2.0.5/m/image/image.m Display an octave image matrix. image (x) displays a matrix as a color image. The elements of x are indices into the current colormap and should have values between 1 and the length of the colormap. image (x, zoom) changes the zoom factor. The default value is 4. SEE ALSO: imshow, imagesc, colormap. ---------------------------------------------------------------------- The default colormap consists of 64 gray values. You can change this with the colormap function. Best regards, Andreas ************************************************************************ * Andreas Weingessel * ************************************************************************ * Institut f=FCr Statistik * Tel: (+43 1) 58801 4541 = * * Technische Universit=E4t Wien * Fax: (+43 1) 504 14 98 = * * Wiedner Hauptstr. 8-10/1071 * Andreas dot Weingessel at ci dot tuwien dot ac dot at * * A-1040 Wien, Austria * http://www.ci.tuwien.ac.at/~weingessel * ************************************************************************