@Star Strider Hi, sorry for tagging you but you are super professional with MATLAB, so I thought you might know the answer to this one. I appreciate your time.
How to use 'layout' in nexttile to make the legend appear in the sixth position in 6 tiled chart?
4 views (last 30 days)
Show older comments
Hi all,
if we have a 6 tiled chart. How do you use layout for legend to put the legend in the 6th tile?
Thanks
Answers (1)
Sulaymon Eshkabilov
on 28 May 2021
Hi,
Here is a realtively simple solution via an easy example:
A = randi([1, 5], 6);
p = bar(A);
legend(p(1,6),{'6-th tile'})
Good luck.
See Also
Categories
Find more on Logical 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!