Borrar filtros
Borrar filtros

Bar plot for two matrices together

4 visualizaciones (últimos 30 días)
Joydeb Saha
Joydeb Saha el 18 de En. de 2023
Editada: Stephan el 18 de En. de 2023
I have two matrices ww and si. I want to make a bar plot with this two. For each year (x-axis) I need to show 2 bars – one ww and one si. si need to be reversed, as si in negative y axis. So that flipping the si to show the same trends of the bars.
  2 comentarios
KSSV
KSSV el 18 de En. de 2023
bar(rand,'r')
hold on
bar(-rand,'b')
Joydeb Saha
Joydeb Saha el 18 de En. de 2023
I want to make something like this. See the image attached. Attached the matrices also.

Iniciar sesión para comentar.

Respuestas (1)

Stephan
Stephan el 18 de En. de 2023
Editada: Stephan el 18 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by