Mercurial > octave
comparison scripts/image/prism.m @ 21567:3d25f9f4a62b
maint: Eliminate Britishicisms in the code.
* oct-stream.cc, __magick_read__.cc, Array.h, flag.m, lines.m, prism.m,
__contour__.m: Use 'optimize' and 'color' rather than British spellings.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 30 Mar 2016 21:35:51 -0700 |
parents | 516bb87ea72e |
children | 894239974868 |
comparison
equal
deleted
inserted
replaced
21566:02826fb0f261 | 21567:3d25f9f4a62b |
---|---|
52 endfunction | 52 endfunction |
53 | 53 |
54 | 54 |
55 %!demo | 55 %!demo |
56 %! ## Show the 'prism' colormap profile and as an image | 56 %! ## Show the 'prism' colormap profile and as an image |
57 %! cmap = prism (18); # 6 colours, therefore cycle 3 times | 57 %! cmap = prism (18); # 6 colors, therefore cycle 3 times |
58 %! subplot (2, 1, 1); | 58 %! subplot (2, 1, 1); |
59 %! rgbplot (cmap, "composite"); | 59 %! rgbplot (cmap, "composite"); |
60 %! subplot (2, 1, 2); | 60 %! subplot (2, 1, 2); |
61 %! rgbplot (cmap); | 61 %! rgbplot (cmap); |