Mercurial > hg > octave-nkf
diff scripts/plot/legend.m @ 8790:a013ff655ca4
Trivial changes to demos to produce a more pleasant output for octave+gnuplot+aquaterm.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 18 Feb 2009 00:46:24 -0500 |
parents | 5dd06f19e9be |
children | 485eabc0cfec |
line wrap: on
line diff
--- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -228,19 +228,19 @@ endfunction %!demo -%! close all; +%! clf %! plot(1:10, 1:10, 1:10, fliplr(1:10)); %! title("incline is blue and decline is green"); %! legend({"I'm blue", "I'm green"}, "location", "east") %!demo -%! close all; +%! clf %! plot(1:10, 1:10); %! title("a very long label can sometimes cause problems"); %! legend({"hello world"}, "location", "northeastoutside") %!demo -%! close all; +%! clf %! labels = {}; %! for i = 1:5 %! plot(1:100, i + rand(100,1)); hold on;