Every time I want to add labels to my colorbar, it says there is an error with the property, can any one help me?

1 回表示 (過去 30 日間)
c= colormap;
colorbar('ticks',[19.5,24],'ticklabels',{'Valley','Hill'})
it says error in the last row, can anyone help me?
  7 件のコメント
Muhamed Sewidan
Muhamed Sewidan 2019 年 3 月 25 日
But I don't get it, why should it be written in the way (in three rows)?
Muhamed Sewidan
Muhamed Sewidan 2019 年 3 月 25 日
I want to make only two labels at the maximum and the minimum

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by