How to change units of Y axis?

조회 수: 3 (최근 30일)
googo
googo 2013년 3월 27일
I made an histogram (left one) and I want to change the y axis units so it will be like the histogram on the right.
How can I do it?
thank's!

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 27일
편집: Azzi Abdelmalek 2013년 3월 27일
Edit
yt=(0:0.4:1.2)*10^4
set(gca,'yticklabel',xt)
  댓글 수: 5
Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 27일
편집: Azzi Abdelmalek 2013년 3월 27일
have you copied the above code?
googo
googo 2013년 3월 27일
Yes, after the plot function.
well, now I asked my teacher and i'm not allowed using set and linspace so never mind about that.
As there any artificial way to do this? thank's!

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

추가 답변 (0개)

카테고리

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

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by