octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #65384] image clim and climmode properties imp


From: Rik
Subject: [Octave-bug-tracker] [bug #65384] image clim and climmode properties improperly set for RGB and integer cdata
Date: Fri, 1 Mar 2024 14:25:27 -0500 (EST)

Follow-up Comment #6, bug#65384 (group octave):


> ok, out at m-code level, yes that whole block seems unnecessary.  but i
don't think the caxis('auto') is needed.

Sorry, I didn't make myself clearer.  The 'caxis' command was merely to show
what Octave was getting wrong, and how to recover Matlab behavior.  The root
cause is that setting 'clim' property to any value changes the mode to
'manual'.  I think we fix that by simply removing the block of code in image
which is unnecessarily setting the 'clim' property.

Separately, Matlab says "The clim function only affects graphics objects that
have the CDataMapping property set to "scaled". It does not affect graphics
objects that use truecolor or have the CDataMapping set to "direct"."

So, TrueColor (RGB) should not be changing "clim" nor using it to affect
display.  


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65384>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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