how to make label y axis specific?

4 ビュー (過去 30 日間)
Ibrahim AlZoubi
Ibrahim AlZoubi 2020 年 6 月 21 日
回答済み: Sindar 2020 年 6 月 25 日
I want to make y axis as (0 500 1000) how to do it?
i use I use ylim([1 1000])

回答 (1 件)

Sindar
Sindar 2020 年 6 月 25 日
% if you want a label at 0, make sure to include it in your limits
ylim([0 1000])
yticks([0 500 1000])

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by