Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to control text and size of figure together

1 回表示 (過去 30 日間)
Safi ullah
Safi ullah 2018 年 5 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi everyone, for some purpose I need to plot a scatter plot with 6×6 cm size. I also need to insert some text inside this figure with font size 7. I have tried the following code
set(gca,'position',[0.05 0.20 0.85 0.66]);
Then I used the following code to save it,
set(gcf,'PaperUnits','centimeters')
set(gcf,'PaperPosition',[0 0 7 6])
print(gcf,'-dtiff','-r300',['./Figure'])
but after saving, the figure is not looking proper that is text, legend etc are mixed, as the size is so small and also there is another restriction of font size 7, so I feel problem, any guidance will be appreciated thanks.

回答 (0 件)

この質問は閉じられています。

タグ

タグが未入力です。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by