필터 지우기
필터 지우기

How to display Multiple Strings and a Pie Diagram on the MATLAB figure

조회 수: 2 (최근 30일)
jupiter
jupiter 2016년 12월 16일
댓글: the cyclist 2016년 12월 16일
I need to display multiple strings and a pie chart on the same MATLAB figure. Is it possible ? I know how to display them separately.

채택된 답변

the cyclist
the cyclist 2016년 12월 16일
rng default
figure
hold on
pie(rand(7,1))
axis equal
text(0.2,-0.6,'Do you mean')
text(0.2,-0.7,'like this?')
  댓글 수: 3
the cyclist
the cyclist 2016년 12월 16일
That would have been good information to put in your original question.
the cyclist
the cyclist 2016년 12월 16일
rng default
figure
hold on
pie(rand(7,1))
axis equal
text(-1.2,1.3,'You can create some text anywhere')
text(0.2,1.3,'But you might need to adjust the figure size like I did')
set(gcf,'OuterPosition',[400 200 600 600])
set(gca,'visible','off')

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Pie Charts에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by