i have problem when i would rotate xlabel of bar graph on matlab

1 visualización (últimos 30 días)
mechri khaled
mechri khaled el 18 de Mayo de 2016
Respondida: JohnGalt el 19 de Mayo de 2016
numbers = magic(5); labels = {'label 1', 'label 2', 'label 3', 'label 4', 'label 5'}; bar(numbers(:,1)) set(gca, 'XTickLabel', labels) rotateXLabels(gca, 45); this is the error that was appear: Undefined function 'rotateXLabels' for input arguments of type 'double'. Error in Untitlea (line 5) rotateXLabels(gca, 45);

Respuestas (1)

JohnGalt
JohnGalt el 19 de Mayo de 2016

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by