help-octave
[Top][All Lists]
Advanced

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

Re: imagesc() behaviour with gnuplot and Jhandles


From: Michael Goffioul
Subject: Re: imagesc() behaviour with gnuplot and Jhandles
Date: Sun, 24 Feb 2008 12:54:20 +0100

On 2/23/08, Michael Grossbach <address@hidden> wrote:
> Let A be a matrix with values between 0 and 1:
> A = rand(128);
>
> imagesc(A) with jhandles as plotting backend shows a 'flat' image with
> all pixels set to the same colour whereas imshow(A, []) shows the
> expected picture but without the axes. Using gnuplot with imagesc(A)
> works as expected. All this under Windows with Octave 3.0.0
> Is there a workaround?

set (h, 'cdatamapping', 'scaled')

where h is the image handle. This seems to work OK with current
development (mercurial) code, so I guess the problem is already
fixed.

Michael.


reply via email to

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