colorbar
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone,
I plot some data using 'surf' plus a colorbar at the end. The plot shows a pixelated picture. The colors which represent the data are not continuous and there is a sharp jump between colors. I was thinking if I can increase the number of the colors in the bar then it looks more continuoues. I will appreciate any help from you.
Thank you,
S.
0 Kommentare
Akzeptierte Antwort
Matt Tearle
am 22 Mär. 2011
You can change your colormap to have more colors. The default is 64.
colormap(jet(128))
Weitere Antworten (1)
Matt Fig
am 22 Mär. 2011
Is this what you are looking for?
% Make your surface plot, then:
shading('interp')
Siehe auch
Kategorien
Mehr zu Colorbar finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!