How can I change the line color in a graph using plot?

 Respuesta aceptada

Mischa Kim
Mischa Kim el 23 de Jul. de 2014
vivek, check out the doc for starters, e.g.
x = 0:0.1:5;
y = sin(x);
plot(x,y,'r-o')

Más respuestas (1)

SRI
SRI el 23 de Jul. de 2014
T = 0:0.1:10;
Y = sin(T.*pi);
plot(y,'r')
Hi vivek Just try this

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Jul. de 2014

Comentada:

el 23 de Jul. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by