octave-maintainers
[Top][All Lists]
Advanced

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

Re: imshow.m


From: Stefan van der Walt
Subject: Re: imshow.m
Date: Wed, 22 Feb 2006 13:17:48 +0200
User-agent: Mutt/1.5.9i

On Wed, Feb 22, 2006 at 04:04:56AM -0600, Daniel J Sebald wrote:
> Daniel J Sebald wrote:
> 
> >John, attached is a short patch to restore the colormap after using 
> >imshow().  If the colormap changes using imshow(R,G,B), then future use 
> >of image(A) is messed up.
> 
> I've been informed that other programs like Octave behave this way.  But 
> that doesn't mean Octave doesn't have to operate the right way.  Why should 
> the global color map change unless I type "colormap(ocean(64))" or some 
> such?

I agree.  imshow shouldn't touch the colormap.

Stéfan



reply via email to

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