comparison scripts/plot/patch.m @ 6895:76e3d985ae56

[project @ 2007-09-13 18:22:38 by jwe]
author jwe
date Thu, 13 Sep 2007 18:22:51 +0000
parents 0089a504fdd6
children c7484dcadd4d
comparison
equal deleted inserted replaced
6894:0a71f51ae624 6895:76e3d985ae56
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} patch () 21 ## @deftypefn {Function File} {} patch ()
22 ## @deftypefnx {Function File} {} patch (@var{x}, @var{y}, @var{c}) 22 ## @deftypefnx {Function File} {} patch (@var{x}, @var{y}, @var{c})
23 ## @deftypefnx {Function File} {} patch (@var{x}, @var{y}, @var{c}, @var{opts}) 23 ## @deftypefnx {Function File} {} patch (@var{x}, @var{y}, @var{c}, @var{opts})
24 ## Create patch object from @var{x} and @var{y} with color @var{c} and insert in current 24 ## Create patch object from @var{x} and @var{y} with color @var{c} and
25 ## axes object. Return handle to patch object. 25 ## insert in the current axes object. Return handle to patch object.
26 ## For an uniform colored patch, @var{c} can be given as [r, g, b]-vector, scalar value refering 26 ##
27 ## to the current colormap, or string value (e.g. "r" or "red"). 27 ## For a uniform colored patch, @var{c} can be given as an RGB vector,
28 ## scalar value referring to the current colormap, or string value (for
29 ## example, "r" or "red").
28 ## @end deftypefn 30 ## @end deftypefn
29 31
30 ## Author: jwe 32 ## Author: jwe
31 33
32 function h = patch (varargin) 34 function h = patch (varargin)