[bug #68080] reset function may alter axes position

Pantxo Diribarne <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Update of bug #68080 (group octave):

                  Status:                    None => Confirmed
        Operating System:       Microsoft Windows => Any
                 Summary: bar function alters axes Position to
DefaultAxesPosition => reset function may alter axes position

    _______________________________________________________

Follow-up Comment #1:

I can confirm the issue, even though it is not specifically the bar function,
but any high level plotting function that uses newplot without "hold on" and
thus calls "reset" on an axes that has a non-factory default position. Here is
a simple reproducer:


figure ("defaultaxesposition", [0.1 0.1 0.8 0.8])
hax = axes ("position", [0.5, 0.5, 0.3, 0.3])
reset (hax)


If you comment out the first line, then reset correctly leaves the axes
position untouched.

So in the end the bug is in reset and I updated the title accordingly.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68080>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZtfOAAKCRCqLAuaBUf3
Tqz+AP9T7N2GN5+eymL2PGcz0Yu+EcxAzQbrCKAL1O/a+uSEDwEAkY9lg17kq/3g
wlQCT+1ZCwiuWRedk2JX4WW43KYZuwk=
=3kh8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.