How to label the x axis in matlab for boxplot ?

33 visualizaciones (últimos 30 días)
Jay Chandra
Jay Chandra el 27 de Feb. de 2023
Comentada: Voss el 27 de Feb. de 2023
Assume i have output data Y=10*3 ; when i want to plot boxplot for Y
boxchart(Y);
xlabel('Column')
ylabel('Power')
this is the output plat we get
Question: How to change the X-Axis rather than '1','2','3' as names like 'january', 'feb','mar'?

Respuesta aceptada

Voss
Voss el 27 de Feb. de 2023
xticklabels({'january','feb','mar'})
  4 comentarios
Jay Chandra
Jay Chandra el 27 de Feb. de 2023
Thankyou Voss
Voss
Voss el 27 de Feb. de 2023
You're welcome!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by