フィルターのクリア

ColorBar outerposition property on Matlab 2015b

2 ビュー (過去 30 日間)
Jeferson Araujo de Oliveira
Jeferson Araujo de Oliveira 2015 年 10 月 8 日
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 件)

カテゴリ

Help Center および File ExchangeColorbar についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by