plot two vectors simultaneuosly on the same axis?
Mostrar comentarios más antiguos
Regards. I have 2 vectors. For example a=[2 4 3 6 7 8] and b=[7 5 2 4 4 1]. I wolud like to plot them both on x axis simultaneously, for exampe in order a=2,b=7,a=4,b=5... y axis is supposed to be 0 for vector a and 1 for vector b. is this possible to do? Thank you.
Respuesta aceptada
Más respuestas (1)
Chandrasekhar
el 28 de Mzo. de 2014
Editada: Chandrasekhar
el 28 de Mzo. de 2014
plot(a)
hold
plot(b)
1 comentario
Bojan
el 28 de Mzo. de 2014
Categorías
Más información sobre Annotations 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!