[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60897] caxis affected by rectangle and patch
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60897] caxis affected by rectangle and patch graphic without scaled color |
Date: |
Thu, 15 Jul 2021 18:53:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Update of bug #60897 (project octave):
Status: None => Confirmed
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #1:
Confirmed.
I tested on Linux and the same issue is present so I changed the OS to "Any".
The rectangle object in Octave is not a drew graphics primitive, but instead
is mimicked with a patch object. See the file rectangle.m.
Hence, you are correct that this is a general issue related to patches. The
logic that autoscales the "clim" property of an axis has to look at the color
data for each relevant object. My guess is that empty cdata, '[]', is being
equated with 0 rather than having a special case to simply ignore.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60897>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/