[Top][All Lists]

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

[Octave-bug-tracker] [bug #59067] Implementation of xtickangle(), yticka

From: Guillaume
Subject: [Octave-bug-tracker] [bug #59067] Implementation of xtickangle(), ytickangle() and ztickangle()
Date: Sat, 5 Sep 2020 12:34:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0


                 Summary: Implementation of xtickangle(), ytickangle() and
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Sat 05 Sep 2020 04:34:09 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any



Since R2016b, Matlab has helper functions to rotate the tick labels:
acting as wrappers around the XTickLabelRotation and XTickLabelRotationMode
properties of axes:

XTickLabelRotation is available in Octave but unused, while
XTickLabelRotationMode would still need to be added (and allowed to take
values "auto" and "manual").

I attach a possible implementation of xtickangle.m. When writing the help
text, I came across xticklabels.m which is very similar: I could rewrite
xtickangle.m to use a similar layout (with switch/endswitch). Given
xtickangle(), ytickangle() and ztickangle() are nearly identical, would it be
useful to have them call a generic __tickangle__()?

Even if the actual rotation of the tick angles is not yet implemented in
Octave, having these functions in place would contribute to Matlab
compatibility as it would replace a crash with a no-op.


File Attachments:

Date: Sat 05 Sep 2020 04:34:09 PM UTC  Name: xtickangle.m  Size: 6KiB   By:



Reply to this item at:


  Message sent via Savannah

reply via email to

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