help-octave
[Top][All Lists]
Advanced

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

Re: image, imshow and similar display empty axes


From: Ben Abbott
Subject: Re: image, imshow and similar display empty axes
Date: Wed, 31 Oct 2012 17:02:32 -0400

On Oct 31, 2012, at 3:15 PM, Jan-Timm Kuhr wrote:

> Hello,
> I'm working on with octave 3.6.3. on a Mac.
> When I try to plot a 2D image, say by using image(rand(10)), I get an correct 
> set of axes, but filled with with white space instead.
> 1d plots seem to work alright.
> I suspect that it has something to do with working on a Mac.
> I found this here https://savannah.gnu.org/bugs/?29522
> but it links to another thread, which is rather cryptic, at least to me.
> Thanks a lot for any help,
> jan

If you try ...

        h = image (rand (10))
        set (h, "cdatamapping", "scaled")

... do you get what you expect?

If so, you can try "imagesc()" instead of "image()"

Ben


reply via email to

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