function cspec = colour(cnum) % COLOUR Numbered Colour-specs % % cspec = color(cnum) % % Output is character color specification corresponding to the input % integer number in from this list: % % 1 b blue % 2 g green % 3 r red % 4 c cyan % 5 m magenta % 6 y yellow % 7 k black % % See also GRAPH3D %Time-stamp: %File: col={'b','g','r','c','m','y','k',... [.7 .4 .2],[.35 .7 .6],[.14 .5 .7],[.4 .16 .7],[.7 .65 .34]}; cspec=col{mod(cnum-1,length(col))+1};