why does my horizontal color bar have duplicate tick multipliers?
1 次查看(过去 30 天)
显示 更早的评论
Do you know why a color bar would display two tick multipliers? It wouldn't be a big deal if the duplicate multiplier had been positioned well, but the multiplier text is placed at a somewhat arbitrary location on the figure.
This is how I create and position the common color bar in a multi-plot figure:
cbhe=colorbar('peer',subplot(rows,cols,1));
set(cbhe,'Location','NorthOutside','Position',[.13 0.94 .43 .01],'FontSize', 10);
The color bar value are from 1E9 to 6E9. The color bar ticks are from 1 to 6 with the text "x 10^9" displayed on the lower right side of the (horizontal) color bar. But the same multiplier text is duplicated somewhere above the color bar to its far left as well. This seems to be happening with horizontal color bars. The vertical ones have a single multiplier.
Thanks, Neil
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!