changeset 860:86f0632d379b

wavelength.m: fix demo by shaping output into proper colormap.
author Carnë Draug <carandraug@octave.org>
date Wed, 08 Jan 2014 13:23:48 +0000
parents 9e4ecfd52273
children a2401673edc6
files inst/wavelength2rgb.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/inst/wavelength2rgb.m
+++ b/inst/wavelength2rgb.m
@@ -165,5 +165,5 @@
 %!
 %! ##draw RGB values for wavelengths between 350 and 800 nm
 %! RGB = wavelength2rgb (350:800);
-%! rgbplot (RGB, "composite");
+%! rgbplot (squeeze (RGB), "composite");
 %! axis off;