[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63095] Set HandleVisibility to off and plot b
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #63095] Set HandleVisibility to off and plot bounds are not adjusted for large values then plotted.. |
Date: |
Fri, 23 Sep 2022 09:12:22 -0400 (EDT) |
Update of bug #63095 (project octave):
Item Group: Inaccurate Result => Matlab Compatibility
Status: None => Confirmed
Release: other => dev
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #3:
Confirmed in Octave 7.2.0 and a recent tip from the development branch.
Simpler steps to reproduce:
figure()
plot([0 1])
ylim()
hold on
plot([2 0], 'handlevisibility', 'off')
ylim()
This returns `[0 1]` for both `ylim()` commands. In Matlab R2022a, it returns
`[0 2]` for the second `ylim()` command.
The axis limits change with the second line if 'handlevisibility' isn't set to
'on'.
It looks like currently lines with 'handlevisibility' set to 'off' aren't
taken into account when calculating the axis limits. In Matlab, they are.
Maybe this is something that has changed in Matlab at some point in the past
with no one noticing so far?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63095>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/