Auto-scaling image/imagesc

Fredrik Lingvall fl at ifi.uio.no
Mon Jan 14 06:34:44 CST 2008


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




More information about the Octave-maintainers mailing list