There is no InnerPosition property on the matlab.gra​phics.layo​ut.TiledCh​artLayout class.

4 次查看(过去 30 天)
Any idea how to solve this error?
t = tiledlayout(2,2,'InnerPosition',[0.1300 0.1100 0.7750 0.8150]);
here is the error:
Error using matlab.graphics.chart.ChartInputParser/parseNameValue
There is no InnerPosition property on the matlab.graphics.layout.TiledChartLayout class.
Error in tiledlayout
Also tried this:
t = tiledlayout(2,2);
t.InnerPosition=[0.1300 0.1100 0.7750 0.8150];
and recieved error:
Unrecognized property 'InnerPosition' for class 'matlab.graphics.layout.TiledChartLayout'.
Error in kharrrr (line 10)
t.InnerPosition=[0.1300 0.1100 0.7750 0.8150];
  3 个评论
Zeynab Mousavikhamene
@ Mohammad Sami:
I used those comamnd but the result was not satisfactory. I am intersted to be flexible in the arrangement of tiles. I am trying to make the tiles to be closer to each other.
@tommy:
I have 2019b

请先登录,再进行评论。

回答(1 个)

Tommy
Tommy 2020-4-17
It looks like a handful of properties for TiledChartLayout objects, including 'Position', 'InnerPosition', and 'OuterPosition', were not added until 2020a.

类别

Help CenterFile Exchange 中查找有关 MATLAB Mobile Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by