File Exchange

image thumbnail

Plot color

version 1.1 (1.65 KB) by

PLOT_COLOR draws a dotted graph where the color of every point depends by vector P

0 Downloads

Updated

View License

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)

Comments and Ratings (0)

Updates

1.1

Update "Other requirements"

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today