How can one specify where the plot will be shown in Livescript?
4 views (last 30 days)
Show older comments
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 Comment
Sindar
on 18 Aug 2020
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
Answers (1)
Prabhanjan Mentla
on 18 Aug 2020
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.
There is another similar type of function subplot(m, n, p) where additional parameter ‘p’ represents position.
Hope this helps.
0 Comments
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!