Mercurial > hg > octave-terminal
changeset 13886:99cd136079f7
allow bar (..., color) to work
* __bar__.m: If color spec found, prepend {"facecolor",
linespec.color} to newargs, not just {linespec.color}.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Nov 2011 10:17:09 -0500 |
parents | 2f42a7b0cf94 |
children | e0fb702a62a4 |
files | scripts/plot/private/__bar__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/private/__bar__.m +++ b/scripts/plot/private/__bar__.m @@ -82,7 +82,7 @@ [linespec, valid] = __pltopt__ (func, varargin{idx}, false); if (valid) have_line_spec = true; - newargs = [{linespec.color}, newargs]; + newargs = [{"facecolor", linespec.color}, newargs] idx++; continue; endif