Two line start at same point
Mostrar comentarios más antiguos
Hi all,
i'm newbie in matlab. My question is, i have x and y line with range from 0 to 5. i want to plot at thre coordinate. first(1,1), second(2,3) and third(3,2). how can i plot two line with the same starting point at (1,1). and both line is visible.
thank you.
Respuestas (2)
Walter Roberson
el 12 de Mzo. de 2014
plot([1 2], [1 3], 'r', [1 3], [1 2], 'g')
m
el 12 de Mzo. de 2014
0 votos
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!