[bug #68266] plot does not make space for top xlabel

"Dmitri A. Sergatskov" <[email protected]> Wed, 22 Apr 2026 15:10:17 -0400 (EDT)
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.

URL:
  <https://savannah.gnu.org/bugs/?68266>

                 Summary: plot does not make space for top xlabel
                   Group: GNU Octave
               Submitter: dasergatskov
               Submitted: Wed 22 Apr 2026 07:10:12 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 22 Apr 2026 07:10:12 PM UTC By: Dmitri A. Sergatskov <dasergatskov>
When "xaxislocation" set to "top", the plot figure does not make space for
xlabel, so xlabel and title will collide:

octave:1> plot(1:3)
octave:2> set (gca (), "xaxislocation", "top");
octave:3> xlabel("xlabel")
octave:4> title("Title")


This is with Octave 10.3 and 12.0.0

Dmitri.
-- 








    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaekdGQAKCRCqLAuaBUf3
ThWmAQDmRWmPPjsN13yxqm0v1VuYHogHOAHrHZECb3FQbRSe+AEA0t71aI/gyEr+
/ugs2sXVG7twFr9zadYmhiqOW55D8Qs=
=GhAt
-----END PGP SIGNATURE-----