Insert a colorbar into a plot, destroys image with too many numbers?

1 view (last 30 days)
Hello,
I have a small problem with the colorbar function of matlab. Whenever I add a colorbar into a surfaceplot, that happens http://i.imgur.com/yHeJBW3.jpg
If I then start to move the plot, it looks like this http://i.imgur.com/8Fk3qM4.jpg
Does anyone know how to display the plot properly? This way, it is not realy publishable. I already googled, but I couldn't find anything (probably also because I don't know the right vocabularies to look for).
Hope someone can help me :)
[Edit: typos]

Accepted Answer

Daniel Shub
Daniel Shub on 28 May 2013
I am guessing this is a duplicate of http://www.mathworks.com/matlabcentral/answers/53874
  1 Comment
Julian
Julian on 28 May 2013
Mh... yes it is. Thank you! Even though I now feel kind of dumb. I thought I looked "colorbar" up, instead I searched for "colormap". Well anyway, thanks!

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!