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

1 回表示 (過去 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 Center および File ExchangePie Charts についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by