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

4 次查看(过去 30 天)
c= colormap;
colorbar('ticks',[19.5,24],'ticklabels',{'Valley','Hill'})
it says error in the last row, can anyone help me?
  7 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by