Mercurial > hg > octave-lojdl
changeset 12698:fb93b94dfc82 stable
Add rectangle to new functions list in NEWS.
* NEWS: Add rectangle to new functions list in NEWS.
* unimplemented.m: Remove rectangle from list.
* rectangle.m: Use double spaces for sentence breaks in Texinfo
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 01 Jun 2011 21:00:14 -0700 |
parents | ee4775d04d7f |
children | 9843b3b055e0 |
files | NEWS scripts/miscellaneous/unimplemented.m scripts/plot/rectangle.m |
diffstat | 3 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS +++ b/NEWS @@ -350,15 +350,15 @@ exponent where the exponent is a multiple of 3. ** The following functions are new in Octave 3.4: - accumdim divergence merge ppjumps textread - bitpack erfcx nfields pqpnonneg uigetdir - bitunpack fileread nth_element quadcc uigetfile - blkmm fminbnd onCleanup randi uiputfile - cbrt fskipl pbaspect repelems uimenu - curl ifelse pie3 reset whitebg - chop ishermitian powerset rsf2csf - colstyle isindex ppder saveas - daspect luupdate ppint strread + accumdim divergence merge ppjumps strread + bitpack erfcx nfields pqpnonneg textread + bitunpack fileread nth_element quadcc uigetdir + blkmm fminbnd onCleanup randi uigetfile + cbrt fskipl pbaspect rectangle uiputfile + curl ifelse pie3 repelems uimenu + chop ishermitian powerset reset whitebg + colstyle isindex ppder rsf2csf + daspect luupdate ppint saveas ** Using the image function to view images with external programs such as display, xv, and xloadimage is no longer supported. The
--- a/scripts/miscellaneous/unimplemented.m +++ b/scripts/miscellaneous/unimplemented.m @@ -329,7 +329,6 @@ "quad2d", "questdlg", "rbbox", - "rectangle", "recycle", "reducepatch", "reducevolume",
--- a/scripts/plot/rectangle.m +++ b/scripts/plot/rectangle.m @@ -17,16 +17,16 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {} rectangle () +## @deftypefn {Function File} {} rectangle () ## @deftypefnx {Function File} {} rectangle (@dots{}, "Position", @var{pos}) ## @deftypefnx {Function File} {} rectangle (@dots{}, "Curvature", @var{curv}) ## @deftypefnx {Function File} {} rectangle (@dots{}, "EdgeColor", @var{ec}) ## @deftypefnx {Function File} {} rectangle (@dots{}, "FaceColor", @var{fc}) ## @deftypefnx {Function File} {@var{h} =} rectangle (@dots{}) ## -## Draw rectangular patch defined by @var{pos} and @var{curv}. The variable +## Draw rectangular patch defined by @var{pos} and @var{curv}. The variable ## @code{@var{pos}(1 : 2)} defines the lower left-hand corner of the patch -## and @code{@var{pos}(3 : 4)} its width and height. By default the value of +## and @code{@var{pos}(3 : 4)} its width and height. By default the value of ## @var{pos} is @var{[0, 0, 1, 1]}. ## ## The variable @var{curv} defines the curvature of the sides of the rectangle @@ -44,7 +44,7 @@ ## min (pos (1: 2)) / max (pos (1:2)) * curv ## @end example ## -## Other properties are passed to the underlying patch command. If called +## Other properties are passed to the underlying patch command. If called ## with an output argument, @code{rectangle} returns the handle to the ## rectangle. ## @end deftypefn @@ -202,6 +202,7 @@ "facecolor", get (h, "facecolor")); endfunction + %!demo %! close all %! axis equal