ColorSpectrum

版本 1.1.0.0 (1.8 KB) 作者: Ingo Hermann
ColorSpec; ColorSweep; Multicolor; Multiple Colors for Plots;
102.0 次下载
更新时间 2016/7/2

查看许可证

This function enables to plot multiple datas with changing colors. It generates a array of colors in a area and can be adjusted as belows:
The function is function [ColSpec] = ColSpec(a,q,value,start,m,k,inv)
%Therefor "a" defines the amount of different colors
% "q" ist the qth value which is created
% "value" defines how far the sweep should be. So for value = 1
% the sweep goes form red to yellow to green to blue to violett.
% "inv" inverts the colors beginning from blue to green to red for any value but 0.
%start is the value at which color you want to start.
%start = 0 --> red
%start = 0.5 --> yellow
%start = 1 --> green
%start = 1.5 - 2 --> brigthblue
%start = 2.5 --> darkblue
%start = 3 --> pink
%m and q handels the brigthness of th curve

引用格式

Ingo Hermann (2024). ColorSpectrum (https://www.mathworks.com/matlabcentral/fileexchange/57756-colorspectrum), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Colorspec can be inverted so that the color goes from blue to green to red.

1.0.0.0