# HG changeset patch # User jwe # Date 1160772608 0 # Node ID 89d3cd848ca3b139ddc83f479ebb18d81c4cc3a0 # Parent 583c98eeeae208573be8e42eb828ae1e8a7fb060 [project @ 2006-10-13 20:50:08 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2006-10-13 John W. Eaton + + * plot/box.m: New function. + 2006-10-13 Etienne Grossmann * general/ind2sub.m, general/sub2ind.m: Handle empty indices. diff --git a/scripts/plot/box.m b/scripts/plot/box.m new file mode 100644 --- /dev/null +++ b/scripts/plot/box.m @@ -0,0 +1,37 @@ +## Copyright (C) 2006 John W. Eaton +## +## This file is part of Octave. +## +## Octave is free software; you can redistribute it and/or modify it +## under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## Octave is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with Octave; see the file COPYING. If not, write to the Free +## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. + +## -*- texinfo -*- +## @deftypefn {Function File} {} box (@var{arg}) +## @deftypefnx {Function File} {} grid (@var{h}, @dots{}) +## Control the display of a border around the plot. +## The argument may be either @code{"on"} or @code{"off"}. If it is +## omitted, the the current box state is toggled. +## +## Note, this function currently has no effect. +## @seealso{grid} +## @end deftypefn + +## Author: jwe + +## PKG_ADD: mark_as_command box + +function box () + +endfunction