Use a property Colorwith a triple ColorSpec:
plot(x, y, 'Color', [0.5, 1.0, 0.0], 'LineStyle', '--')
Here the vector contains the RGB values between 0.0and 1.0. In Lineseries and ColorSpec , the documentation entry has more information about this.
source
share