How can i adjust the figure window size to display legend ?
4 次查看(过去 30 天)
显示 更早的评论
I am creating a polar plot with polarplot() function. I want the legend of my plot to be displayed horizontally without interrupting my polarplot under it as shown in figure attachment. But only half portion of legend is only visible. (command i have used is attached below). I know that i am making a mistake in position argument value, but don't know how to rectify it.
legend({'\phi = 90^{o}','\phi = 90^{o}'},'Location','South','Orientation','Horizontal','Position',[0.442565103111165,-0.032891573596042,0.152994793777663,0.077339689653089]);
0 个评论
采纳的回答
dpb
2020-8-13
hLg=legend({'\phi = 90^{o}','\phi = 90^{o}'},'Location','SouthOutside','Orientation','Horizontal');
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!