octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57427] title positioning algorithm should tak


From: Rik
Subject: [Octave-bug-tracker] [bug #57427] title positioning algorithm should take in to account "xlabel" and "xaxislocation" values
Date: Mon, 16 Dec 2019 14:11:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

                 Summary: title positioning algorithm should take in to
account "xlabel" and "xaxislocation" values
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Mon 16 Dec 2019 11:11:41 AM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The positioning algorithm already seems to take in to account the 
"xaxislocation" value somewhat.  If the value is set to "top" then the tick
marks and labels are shown on the top of the plot and the title makes room for
them.  However, an added label for the x-axis is then placed above the axes on
the top, and the title() function does not account for this extra buffer.

Sample code


plot (rand (1,4));
set (gca (), "xaxislocation", "top");
xlabel ("xlabel");
ylabel ("ylabel");
title ("Title overlaps label for x-axis");


which is also attached as file tst_title_overlap.m

The resulting plot is attached as file overlap.png.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 16 Dec 2019 11:11:41 AM PST  Name: tst_title_overlap.m  Size: 138B  
By: rik5

<http://savannah.gnu.org/bugs/download.php?file_id=48073>
-------------------------------------------------------
Date: Mon 16 Dec 2019 11:11:41 AM PST  Name: overlap.png  Size: 17KiB   By:
rik5

<http://savannah.gnu.org/bugs/download.php?file_id=48074>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]