bugGNU Octave - Bugs: bug #48668, image() cdata is not affecting the...

 
 

bug #48668: image() cdata is not affecting the clim of axes

Submitter:  Dan Sebald <sebald>
Submitted:  Mon 01 Aug 2016 07:26:14 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 09 Aug 2016 02:40:30 PM UTC, comment #2: 

This is the fundamental difference between an image and a surface, right?  I.e., that image is supposed to act like a LUT (i.e., 'direct') by its nature?  Yes, this can be closed.

Dan Sebald <sebald>
Tue 09 Aug 2016 01:02:35 PM UTC, comment #1: 

Following the discussion in bug #48666, I think this is the expected and correct behavior. Can this bug report be closed, Dan?

Markus Mützel <mmuetzel>
Group administrator
Mon 01 Aug 2016 07:26:14 AM UTC, original submission:  

Notice that


clf;
get(gca,'clim')
demo('surf', 1);
get(gca,'clim')
cdata = get(get(gca,'children'), 'cdata');
min(cdata(:))
max(cdata(:))


updates the clim of the current axes.  But the same doesn't happen for images when it seems it should:


clf;
get(gca,'clim')
demo('image', 1);
get(gca,'clim')
kids = get(gca,'children');
cdata = get(kids(1), 'cdata');
min(cdata(:))
max(cdata(:))


Dan Sebald <sebald>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by sebald (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-01 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code