Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- red = [1,0,0];
- green = [0,1,0];
- R = linspace(red(1),green(1),256);
- G = linspace(red(2),green(2),256);
- B = linspace(red(3),green(3),256);
- map = [R', G', B'];
- colormap(map)
- colorbar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement