[bug #68150] xlabel with pie chart refuses to be Visible

Markus Mützel <[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 #68150 (group octave):

                  Status:                    None => Invalid / Not an Octave
Bug
             Open/Closed:                    Open => Closed

    _______________________________________________________

Follow-up Comment #2:

Like explained in comment #1, this is because the visibility of the axis
labels is conditional on the visibility of the axes.
The pie chart is drawn in an invisible axes graphics object. So, the axis
labels aren't visible either.

That is consistent to MATLAB R2025b:

>> pie(1:5)
xlh = xlabel('Is this Visible?')


xlh = 

  Text (Is this Visible?) with properties:

                 String: 'Is this Visible?'
               FontSize: 11
             FontWeight: 'normal'
               FontName: 'Helvetica'
                  Color: [0.1294 0.1294 0.1294]
    HorizontalAlignment: 'center'
               Position: [1.1444e-06 -1.2748 -1.0000]
                  Units: 'data'

  Show all properties

>> get(gca, 'Visible')

ans = 

  OnOffSwitchState enumeration

    off

>> 


And the label isn't visible in the figure either.

Like already suggested in comment #1, a workaround is to enable the visibility
of the axes graphics object.

Closing as not a bug.


For general questions about using Octave, the Discourse forum might be the
best place:
https://octave.discourse.group/


    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCabO5CgAKCRCqLAuaBUf3
Tpk/AP9NzgYom3al7Wbh7nZ3eK8EjOekHmMCAEbjQ6uVjHNTpAD9GLLE2siJtr9H
fONROjpPGWjEakeyqyl7EXndsXT8Pwc=
=bUb4
-----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.