ColorBar outerposition property on Matlab 2015b
2 次查看(过去 30 天)
显示 更早的评论
Hello.
My script used to work on Matlab 2013a, but it stopped working after upgrading to Matlab 2015b.
I plot an image using the image command then I assign the colorbar object to object c (see below).
c=colorbar('peer',a,...
'location','EastOutside',...
'units', 'centimeters');
Then I try to get the outerposition of the colorbar:
cpos=get(c,'OuterPosition');
and Matlab throws this error:
Error using matlab.graphics.illustration.ColorBar/get
There is no OuterPosition property on the ColorBar class.
Does anyone know the direct alternative to the OuterPosition property in Matlab 2015b? Rewriting this code may take ages!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colorbar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!