Plot color

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

Sie verfolgen jetzt diese Einreichung

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)

Zitieren als

Giacomo Alessandroni (2026). Plot color (https://de.mathworks.com/matlabcentral/fileexchange/41710-plot-color), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Modify Image Colors finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

Update "Other requirements"

1.0.0.0