- PYB 拼音处理模块原理及补充说明: 原理: 根据操作系统拼音输入法的对照表
- CString 介绍类的基本用法
- 一个类似于Java的GC功能的指针
- soft-barron-s60 Coefficients a and b control the low and high frequency ranges that the watermark affects. Because of the watermark invariant properties
- NL-means-matlab-code 图像处理的非局部平均算法
- OpenGL-ES2.0_obj Android平台的APP代码(Eclipse
文件名称:linspecer
介绍说明--下载内容来自于网络,使用问题请自行百度
Matlab画的线较多时,线的颜色的选取对图的美观是有很大的影响的。
Jonathan C. Lansey
提供了在不同线上画不同颜色简单易用的函数。-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颜色(非常好用)
Jonathan C. Lansey
提供了在不同线上画不同颜色简单易用的函数。-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颜色(非常好用)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
linspecer.m
license.txt
license.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
