comparison scripts/image/pink.m @ 9751:2b0cc0b6db61

Add demos for colormap functions
author Soren Hauberg <hauberg@gmail.com>
date Thu, 22 Oct 2009 12:18:56 -0400
parents eb63fbe60fab
children 466ba499eff5
comparison
equal deleted inserted replaced
9750:7bf4f3d64955 9751:2b0cc0b6db61
52 else 52 else
53 map = []; 53 map = [];
54 endif 54 endif
55 55
56 endfunction 56 endfunction
57
58 %!demo
59 %! ## Show the 'pink' colormap as an image
60 %! image (1:64, linspace (0, 1, 64), repmat (1:64, 64, 1)')
61 %! axis ([1, 64, 0, 1], "ticy", "xy")
62 %! colormap pink
63