[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No bool matrices for imagesc in tip?
From: |
Thomas Weber |
Subject: |
No bool matrices for imagesc in tip? |
Date: |
Fri, 31 Oct 2008 16:46:49 +0100 |
Hi,
consider the following:
imagesc(ones(10,10)>0)
This works in 3.0.1, but fails in current tip (8487:dc62132651db) with
imagesc(ones(10,10)>0)
error: invalid value for array property "cdata"
error: set: expecting argument 2 to be a property name
error: set: expecting argument 4 to be a property name
error: set: expecting argument 6 to be a property name
error: called from:
error: /home/weber/sources/vcs/mercurial/octave-build/scripts/image/__img__.m
at line 60, column 7
error: /home/weber/sources/vcs/mercurial/octave-build/scripts/image/image.m
at line 78, column 5
error: /home/weber/sources/vcs/mercurial/octave-build/scripts/image/imagesc.m
at line 114, column 7
error: /home/weber/sources/vcs/mercurial/octave-build/scripts/image/imagesc.m
at line 63, column 9
error: A(I): Index exceeds matrix dimension.
error: called from:
error:
/home/weber/sources/vcs/mercurial/octave-build/scripts/plot/__go_draw_axes__.m
at line 334, column 22
error:
/home/weber/sources/vcs/mercurial/octave-build/scripts/plot/__go_draw_figure__.m
at line 58, column 8
error:
/home/weber/sources/vcs/mercurial/octave-build/scripts/plot/gnuplot_drawnow.m
at line 66, column 5
Casting the bool matrix to double works around this, but is this expected?
Thomas
- No bool matrices for imagesc in tip?,
Thomas Weber <=