Plot color

PLOT_COLOR draws a dotted graph where the color of every point depends by vector P
350.0 次下载
更新时间 2013/5/13

查看许可证

PLOT_COLOR draws a bidimensional dotted graph, where the color of every single point of the vectors X, Y depends by vector P (the intensity color, isn't necessary normalize it).

X, Y and P must be vector and must be have same lenght.
ColorStart and ColorEnd are the two colours that specifying the fractional position of blending. P determines the point to point percent of colour.

MarkerSize has the same sintax as when using it in the plot.

The screenshot was build with this code:

X = 0:100;
Y = sin(X).*exp(-.05.*X);
P = Y;
plot_color(X', Y', P', [1,0,0], [0,0,1], 6)

引用格式

Giacomo Alessandroni (2024). Plot color (https://www.mathworks.com/matlabcentral/fileexchange/41710-plot-color), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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

Update "Other requirements"

1.0.0.0