[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting a matrix
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Plotting a matrix |
Date: |
Thu, 11 Nov 2010 01:57:45 -0600 |
On 11 November 2010 01:39, Mph <address@hidden> wrote:
> What I would like to have is an image like this:
>
> http://octave.1599824.n4.nabble.com/file/n3037323/Distance_matrix.png
>
> where each element [x,y] of the array corresponds to the [x,y]th pixel, and
> the value of the element corresponds to the color of the pixel (1 being
> black and 0 being white, for example).
Try imshow(the_matrix); or surf(the_matrix);
HTH,
- Jordi G. H.