How can one specify where the plot will be shown in Livescript?

조회 수: 2 (최근 30일)
alpedhuez
alpedhuez 2020년 8월 15일
답변: Prabhanjan Mentla 2020년 8월 18일
I have livescript and have plot and various plot specifications. I choose "Output inline." Currently the plot is displayed after
t = tiledlayout(1,1,'Padding','none');
for the next plot that is annoying. How can one specify where the plot will be displayed in Livescript?
  댓글 수: 1
Sindar
Sindar 2020년 8월 18일
Plots always appear after the last line that modifies them. If you want it later, you could add a line that modifies it (maybe give it a title? change the fontsize?). If you want it earlier you're out of luck as far as I know

댓글을 달려면 로그인하십시오.

답변 (1개)

Prabhanjan Mentla
Prabhanjan Mentla 2020년 8월 18일
Hi,
In general, tiled layout(m , n) represents m*n number of plots.
It is advised to pass m, n parameters according to the requirements.
Using nexttile function in tiled layout is helpful in placing axes object.
Refer this link for more in formation on tiled layout.
There is another similar type of function subplot(m, n, p) where additional parameter ‘p’ represents position.
Refer this link for more information on subplot.
Hope this helps.

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by