MATLAB Answers

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

9 views (last 30 days)
Zeynab Mousavikhamene
Zeynab Mousavikhamene on 17 Apr 2020
Answered: Tommy on 17 Apr 2020
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 Comments

Mohammad Sami
Mohammad Sami on 17 Apr 2020
What were you trying to acheive by setting Inner Position property.
If you were trying to alter the spacing between and around tiles, it supports the following two properties.
'TileSpacing' Tile spacing
'normal' (default) | 'compact' | 'none'
'Padding' Padding around layout
'normal' (default) | 'compact' | 'none'
Zeynab Mousavikhamene
Zeynab Mousavikhamene on 17 Apr 2020
@ 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

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by