[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49205] clim has four elements for imshow() re
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #49205] clim has four elements for imshow() result |
Date: |
Wed, 28 Sep 2016 08:35:01 +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/?49205>
Summary: clim has four elements for imshow() result
Project: GNU Octave
Submitted by: sebald
Submitted on: Wed 28 Sep 2016 08:34:58 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:
With the following set of commands there is a clim that has four elements, but
I think only two elements are valid (toolkit doesn't matter):
octave:1> graphics_toolkit ('qt')
octave:2> x = uint8 ((1:128)' + (1:128));
octave:3> y = repmat (x, 1, 1, 3);
octave:4> imshow (y)
octave:5> kids = get(gca, 'children')
kids = -6.9685
octave:6> get(kids(1),'clim')
ans =
2 255 2 -Inf
The 2 and 255 seem correct. I don't know what 2 -Inf might represent. Out of
curiosity:
octave:7> get(gca,'clim')
ans =
0 255
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49205>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49205] clim has four elements for imshow() result,
Dan Sebald <=