ColorBar outerposition property on Matlab 2015b
조회 수: 1 (최근 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!