Code covered by the BSD License  

Highlights from
Plot color

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.65 KB File ID: #41710
image thumbnail

Plot color

by

 

13 May 2013 (Updated )

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

| Watch this File

File Information
Description

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)

MATLAB release MATLAB 7.14 (R2012a)
Other requirements BLENDCOLOR.M file required. See: http://www.mathworks.com/matlabcentral/fileexchange/41691-blend-color
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
13 May 2013

Update "Other requirements"

Contact us