rotating x label

조회 수: 5 (최근 30일)
Pat
Pat 2011년 11월 12일
i have plotted a graph and have labelled x axis ,I want to rotate the x axis label to 90 degree.i tried xticklabel_rotate ,but tthe resullt is the label is half on graph and half on x axis,i am plotting bar graph,i need labe l to be under bar graph
  댓글 수: 1
Jan
Jan 2011년 11월 12일
Please post the link to the xticklabel_rotate function you are using. I'nm not going to search for what you are probably using.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2011년 11월 12일
If you have the handles of the text objects, you can set the 'HorizontalAlignment' to 'right' or 'left' - it depends on the orientation of the 90 deg rotation.

카테고리

Help CenterFile Exchange에서 Graphics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by