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

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

[Octave-bug-tracker] [bug #35486] box(ax, 'on') or box(ax, 'off') return


From: Garrett
Subject: [Octave-bug-tracker] [bug #35486] box(ax, 'on') or box(ax, 'off') returns usage
Date: Wed, 08 Feb 2012 22:20:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

URL:
  <http://savannah.gnu.org/bugs/?35486>

                 Summary: box(ax,'on') or box(ax,'off') returns usage
                 Project: GNU Octave
            Submitted by: g2e
            Submitted on: Wed 08 Feb 2012 10:20:47 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.0
        Operating System: Any

    _______________________________________________________

Details:

Using box(ax,'on') or box(ax,'off') returns usage when the usage shows that as
a supported method:


octave:4> help box
`box' is a function from the file /usr/share/octave/3.6.0/m/plot/box.m

 -- Function File:  box (ARG)
 -- Function File:  box (H, ...)
     Control the display of a border around the plot.  The argument may
     be either `"on"' or `"off"'.  If it is omitted, the current box
     state is toggled.

     See also: grid



Using grid.m as a template I patched (attached) box.m to detect an axis handle
like grid does.  The documentation of box.m was also modified slightly to
bring it closer to that of grid.m.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 08 Feb 2012 10:20:47 PM GMT  Name: box.patch  Size: 2kB   By: g2e

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35486>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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