scaling the colorbar of the plot

3 views (last 30 days)
I want to scale the color bar to maximum and minimum values? which function should I use caxis or clim? and what is the difference between them

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 12 Jun 2013
set(gca,'ylim',[min_yval max_yval]), %for y axis
  1 Comment
Jack_111
Jack_111 on 12 Jun 2013
I do meshing of the figure mesh(x,y,z) and then color bar but I want to scale this colorbar

Sign in to comment.

More Answers (0)

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!