Line Style Specifiers used with Color Specifiers

I assigned the color of the plot using: plot(x,y, 'Color',[0,0.8,0.9]); Now I want the line to be dashed not solid, how do I do that? Trials such as plot(x,y, '--Color',[0,0.8,0.9]); failed.

 Respuesta aceptada

Thorsten
Thorsten el 23 de Sept. de 2015
plot(x,y, '--', 'Color',[0,0.8,0.9]);
or
plot(x,y, 'LineStyle', '--', 'Color',[0,0.8,0.9]);

Más respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

krr
el 23 de Sept. de 2015

Respondida:

el 23 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by