comparison scripts/plot/plot.m @ 17530:0f45d9dd8107

test: Fix 4 failing plot demos. * scripts/plot/legend.m: Demo #11, use 'h' for returned handle. * scripts/plot/plot.m: Fix typo "lenths" -> "lengths". * scripts/plot/ribbon.m: Remove unnecessary call to meshgrid now that sombrero returns meshgridded data. * scripts/plot/trimesh.m: Set colormap so plot is always reproducible.
author Rik <rik@octave.org>
date Tue, 01 Oct 2013 15:39:20 -0700
parents e04847bbcfdf
children
comparison
equal deleted inserted replaced
17529:ec5bd610a11f 17530:0f45d9dd8107
263 263
264 %!demo 264 %!demo
265 %! x = 0:10; 265 %! x = 0:10;
266 %! plot (repmat (x, 2, 1), rand (2, numel (x)), '-s') 266 %! plot (repmat (x, 2, 1), rand (2, numel (x)), '-s')
267 %! axis ([0 10 0 1]) 267 %! axis ([0 10 0 1])
268 %! title ({'Vertical lines with random height and lenths', ... 268 %! title ({'Vertical lines with random height and lengths', ...
269 %! 'x[2x11], y[2,11]'}) 269 %! 'x[2x11], y[2,11]'})
270 270
271 %!demo 271 %!demo
272 %! x = 0:10; 272 %! x = 0:10;
273 %! plot (repmat (x(:), 1, 2), rand (numel (x), 2)) 273 %! plot (repmat (x(:), 1, 2), rand (numel (x), 2))