octave-maintainers
[Top][All Lists]
Advanced

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

Auto-scaling image/imagesc


From: Fredrik Lingvall
Subject: Auto-scaling image/imagesc
Date: Mon, 14 Jan 2008 13:34:44 +0100
User-agent: Thunderbird 2.0.0.9 (X11/20071230)

Hi,

I noticed (in 3.0.0) that both image and imagesc auto-scales the images whereas
in Matlab only imagesc does auto-scaling.

Example:

   image(rand(50,50))

will give an (almost) empty image in Matlab but not in Octave.

You have to do a

   image(64*rand(50,50))

in Matlab to get the same result as in Octave. If this isn't a bug
then how do I switch off auto-scaling?

Regards,

/Fredrik




reply via email to

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