필터 지우기
필터 지우기

How can i adjust the figure window size to display legend ?

조회 수: 4 (최근 30일)
Mahesh Babu Dhanekula
Mahesh Babu Dhanekula 2020년 8월 13일
답변: dpb 2020년 8월 13일
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]);

채택된 답변

dpb
dpb 2020년 8월 13일
hLg=legend({'\phi = 90^{o}','\phi = 90^{o}'},'Location','SouthOutside','Orientation','Horizontal');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by