colorbar
19 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Matt Tearle
2011 年 3 月 22 日
You can change your colormap to have more colors. The default is 64.
colormap(jet(128))
その他の回答 (1 件)
Matt Fig
2011 年 3 月 22 日
Is this what you are looking for?
% Make your surface plot, then:
shading('interp')
参考
カテゴリ
Help Center および File Exchange で Colorbar についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!