Mercurial > hg > octave-lyh
diff scripts/plot/legend.m @ 11462:aed2c50c3082
legend.m: legend with more than two inline keys (bug 31991). Add/modifyy demos.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 08 Jan 2011 10:08:38 -0500 |
parents | 1f54ee6760b5 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -989,7 +989,13 @@ %!demo %! clf %! x = 0:1; +%! plot (x, x, ";I am Blue;", x, 2*x, ";I am Green;", x, 3*x, ";I am Red;") + +%!demo +%! clf +%! x = 0:1; %! plot (x, x, ";I am Blue;", x, 2*x, x, 3*x, ";I am Red;") +%! title ("Blue and Green keys, with Green mising") %!demo %! clf