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

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

[Octave-bug-tracker] [bug #65114] axes visible 'on' does not display axe


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #65114] axes visible 'on' does not display axes children
Date: Wed, 3 Jan 2024 15:09:27 -0500 (EST)

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

                 Summary: axes visible 'on' does not display axes children
                   Group: GNU Octave
               Submitter: lt1234
               Submitted: Wed 03 Jan 2024 08:09:27 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 03 Jan 2024 08:09:27 PM UTC By: Liang Tang <lt1234>
>From matlab on-line document, 


    'on' — Display the axes and its children.

    'off' — Hide the axes without deleting it. You still can access the
properties of an invisible axes object.

When the Visible property is 'off', the axes object is invisible, but child
objects such as lines remain visible.

The example below shows "visible" "on" does not turn on axes children.  
Thanks.  

fid=figure; 
ax1=axes( 'Parent', fid, 'position', [0.1 0.1 0.8, 0.8], 'units',
'normalized', 'tag', 'ax1'); 

plot3(ax1, 1:10, rand(1,10), ones(1,10), 'ro') ;   
set(ax1, 'view', [0,90]); 

set(ax1, 'visible', 'off'); 
set(get(ax1, 'children'), 'visible', 'off'); % plot3 is an ax1 child.
set(ax1, 'visible', 'on'); % plot3, a child, is still off.








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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