How do I increase the figure size without streching my plot?
Show older comments
Hi,
I'm plotting a 3d mesh along with a colorbar on the side. Unfortunately the default figure size is cropping my colormap labels. I've tried changing my figure's position attribute, but then it changes my plot aspect ratio.

How do I increase the figure size without streching my plot?
Thanks,
Vinícius.
4 Comments
Simon Chan
on 22 Aug 2021
The other workaround is to move the starting position of the colorbar towards left.
However, if the colorbar Ticklabels are very long, it doesn't help becasue the colorbar may overlap with the xlabel of the figure.
Vinicius Belarmino Almeida
on 22 Aug 2021
Bjorn Gustavsson
on 22 Aug 2021
Would it be possible for you to abreviate the tick-labels on the colorbar? That would save you valuable space. Can you rotate the ticklabels in your matlab-version?
Vinicius Belarmino Almeida
on 22 Aug 2021
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!



