Disoriented Matlab output plot

1 回表示 (過去 30 日間)
Nikhil
Nikhil 2020 年 9 月 25 日
回答済み: Steve Eddins 2020 年 9 月 25 日
Hello all,
I have written one program which analyzes gears. I am producing output plot as shown in output_plot.png file attached. You can see numbers are not positioned properly. If I zoom in into same plot within Matlab then numbers are position properly as shown in second attachment. Can anyone tell me why this is happening?
How can position numbers properly in overall picture 'output_plot.png' file?
Currently, I am using annotation with text box at specified location to incorporate numbers in plot.
Thanks for any input,
Nik

回答 (1 件)

Steve Eddins
Steve Eddins 2020 年 9 月 25 日
Try using a regular text object instead, like this:
text(0,41.75,string(0),'FontSize',8,'HorizontalAlignment','center')

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by