[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48668] image() cdata is not affecting the cli
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #48668] image() cdata is not affecting the clim of axes |
Date: |
Mon, 1 Aug 2016 07:26:17 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
URL:
<http://savannah.gnu.org/bugs/?48668>
Summary: image() cdata is not affecting the clim of axes
Project: GNU Octave
Submitted by: sebald
Submitted on: Mon 01 Aug 2016 07:26:14 AM GMT
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
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(:))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48668>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48668] image() cdata is not affecting the clim of axes,
Dan Sebald <=