How to change units of Y axis?

1 次查看(过去 30 天)
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