NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/FCAST_1.2/matlab_cen/colors_jet.m

Revision 495 (checked in by cbc, 11 years ago)

Initial import of Stark code.

Line 
1 %function [colors]=colors_jet(ncolors)
2 function [colors]=colors_jet(ncolors)
3 cmapjet=jet(64);
4 size(cmapjet);
5 njet=ans(1);
6 for i=1:ncolors
7    colors(i,:)=cmapjet(1+round((njet-1)*(i-1)/(ncolors-1)),:);
8 end
Note: See TracBrowser for help on using the browser.