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

3 views (last 30 days)
c= colormap;
colorbar('ticks',[19.5,24],'ticklabels',{'Valley','Hill'})
it says error in the last row, can anyone help me?
  7 Comments

Sign in to comment.

Answers (0)

Categories

Find more on Colormaps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!