octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No bool matrices for imagesc in tip?


From: Michael Goffioul
Subject: Re: No bool matrices for imagesc in tip?
Date: Sat, 1 Nov 2008 21:51:33 +0000

On Sat, Nov 1, 2008 at 7:15 PM, Thomas Weber
<address@hidden> wrote:
> Am Samstag, den 01.11.2008, 10:14 +0000 schrieb Michael Goffioul:
>> My question was badly expressed. It should have been: does
>> Matlab accepts that you "set(img, 'cdata', m)", where img is
>> an image handle and m is a bool matrix?
>
>>> m = ones(10,10)>0;
>>> img = figure()
>>> set(img, 'cdata', m)
> ??? There is no 'cdata' property in the 'figure' class.

Indeed. As I mentioned, img should be an image handle, not
a figure handle.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]