How can I stack STEM plots in a single Matlab plot
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shaumik
el 4 de Abr. de 2014
Comentada: Sean de Wolski
el 4 de Abr. de 2014
I am trying to stack 3 STEM plots but unable to do so.
I did the 3 normal plots by doing +1 and +2.
How can I do it?
2 comentarios
Respuesta aceptada
Sean de Wolski
el 4 de Abr. de 2014
Editada: Sean de Wolski
el 4 de Abr. de 2014
x = (1:10)';
y = rand(10,3);
ys = cumsum(y,2);
stem(x,fliplr(ys))
2 comentarios
Sean de Wolski
el 4 de Abr. de 2014
I just edited the example. I think it's probably more in line with what you want now.
Más respuestas (0)
Ver también
Categorías
Más información sobre Stem Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!