Mercurial > hg > octave-avbm
changeset 7039:258dd5c9bfe0
[project @ 2007-10-19 16:12:04 by jwe]
author | jwe |
---|---|
date | Fri, 19 Oct 2007 16:12:05 +0000 |
parents | 4482ba9814b7 |
children | 1f16da18d85d |
files | scripts/ChangeLog scripts/plot/__bar__.m |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2007-10-19 David Bateman <dbateman@free.fr> + + * plot/__bar__.m: Call newplot as needed. + 2007-10-17 Carlo de Falco <kingcrimson@tiscali.it> * plot/print.m: Handle -textspecial and -textnormal flags for fig
--- a/scripts/plot/__bar__.m +++ b/scripts/plot/__bar__.m @@ -144,8 +144,10 @@ if (vertical) if (nargout < 1) + newplot (); patch (xb, yb, newargs {:}); elseif (nargout < 2) + newplot (); varargout{1} = patch (xb, yb, newargs {:}); else varargout{1} = xb; @@ -153,8 +155,10 @@ endif else if (nargout < 1) + newplot (); patch (yb, xb, newargs{:}); elseif (nargout < 2) + newplot (); varargout{1} = patch (yb, xb, newargs{:}); else varargout{1} = yb;