Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms matlab
Title: linspecer Download
 Description: Examples demonstrating the colors. LINE COLORS N 6 X linspace(0,pi*3,1000) Y bsxfun(@(x,n)sin(x+2*n*pi/N), X. , 1:N) C linspecer(N) axes( NextPlot , replacechildren , ColorOrder ,C) plot(X,Y, linewidth ,5) ylim([-1.1 1.1]) SIMPLER LINE COLOR EXAMPLE N 6 X linspace(0,pi*3,1000) C linspecer(N) hold off for ii 1:N Y sin(X+2*ii*pi/N) plot(X,Y, color ,C(ii,:), linewidth ,3) hold on end COLORMAP EXAMPLE A rand(15) figure imagesc(A) default colormap figure imagesc(A) colormap(linspecer) linspecer colormap 注:C即为生成的RGB颜色(非常好用)
 Downloaders recently: [More information of uploader g]
 To Search:
File list (Check if you may need any files):
 

linspecer.m
license.txt
    

CodeBus www.codebus.net