More space for colorbar tick labels

Hi everyone
I need more space to insert all my colorbar tick labels completely into a matlab figure. As you can see in the below picture, some part of the tick labels (.e.g the fifith one from right) are not shown completely and trimmed by the figure. Which property should i change to have more space for my tick labels?
Any help would be greatly appreciated.

3 Comments

did you try to set your OuterPosition value of your axis to [0 0 1 1] (set(gca,'OuterPosition',[0 0 1 1]))?
Thanks Jonas. By assigning the values of two ones to 0.95, I got exactly what I wanted. Thanks a lot.
great! have a nice day

Sign in to comment.

Answers (0)

Products

Release

R2021a

Asked:

on 25 Jul 2021

Commented:

on 26 Jul 2021

Community Treasure Hunt

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

Start Hunting!